Generate C file / header for svn version string
commite5fd0ed67d175c63099f0f67d392d9303d0caec1
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 27 May 2010 09:41:46 +0000 (27 09:41 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 27 May 2010 09:41:46 +0000 (27 09:41 +0000)
tree27316274323f1de2f7da190f269061d1c4280847
parent84d099d944066acf0601c06f226eed6def0cc02d
Generate C file / header for svn version string

It's now easier to force rebuild of files depending on the svn revision

version.c/version.h are generated once with new tools/genversion.sh
Changes in the VCS are still not auto detected, so you'll have to remove
builddir/version.* if you want to change the string in your binaries

APPSVERSION is now called RBVERSION and is defined in the generated
header instead of being defined by the Makefiles
appsversion is now called rbversion (the plugin api number didn't change
since old modules are still binary compatible)

Change some bootloaders to use knwon-at-buildtime RBVERSION instead of
"%s" + rbversion

You'll need to run make clean to regenerate dependencies after the
removal of apps/version.h

To build binaries with a different version string, hand-edit
tools/version.sh or tools/genversion.sh (which calls the former)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
40 files changed:
apps/main.c
apps/menus/main_menu.c
apps/misc.c
apps/plugin.c
apps/plugin.h
apps/plugins/battery_bench.c
apps/plugins/iriver_flash.c
apps/plugins/settings_dumper.c
apps/settings.c
apps/version.h [deleted file]
bootloader/Makefile
bootloader/creativezvm.c
bootloader/gigabeat-s.c
bootloader/gigabeat.c
bootloader/iaudio_coldfire.c
bootloader/ipod.c
bootloader/ipodnano2g.c
bootloader/iriver_h1x0.c
bootloader/iriver_h300.c
bootloader/main-e200r-installer.c
bootloader/main-pp.c
bootloader/meizu_m3.c
bootloader/meizu_m6sl.c
bootloader/meizu_m6sp.c
bootloader/mini2440.c
bootloader/mpio_hd200.c
bootloader/mrobe500.c
bootloader/ondavx747.c
bootloader/samsung_yps3.c
bootloader/show_logo.c
bootloader/telechips.c
bootloader/tpj1022.c
docs/PLUGIN_API.new
firmware/firmware.make
flash/bootbox/Makefile
gdb/Makefile
tools/configure
tools/genversion.sh [new file with mode: 0755]
tools/root.make
uisimulator/common/Makefile