diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-15 07:42:25 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-15 07:42:25 +0000 |
| commit | a2e8cf713e13b5e98f711c723bd3e7eff3c6b9b2 (patch) | |
| tree | bc86a45c1aabcb240c55adcf736f71e7de68c1ef /bootloader/Makefile | |
| parent | 05012ac9f7b531e789aebcd24a02828e78bc810e (diff) | |
| download | rockbox-a2e8cf713e13b5e98f711c723bd3e7eff3c6b9b2.zip rockbox-a2e8cf713e13b5e98f711c723bd3e7eff3c6b9b2.tar.gz rockbox-a2e8cf713e13b5e98f711c723bd3e7eff3c6b9b2.tar.bz2 rockbox-a2e8cf713e13b5e98f711c723bd3e7eff3c6b9b2.tar.xz | |
Automated version string handling in the boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7152 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/Makefile')
| -rw-r--r-- | bootloader/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloader/Makefile b/bootloader/Makefile index 8a483c3..c2bc54a 100644 --- a/bootloader/Makefile +++ b/bootloader/Makefile @@ -26,6 +26,10 @@ ifdef APPEXTRA INCLUDES += -I$(APPEXTRA) endif +ifndef VERSION +VERSION=$(shell date +%y%m%d-%H%M) +endif + CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(DEFINES) \ -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} |