summaryrefslogtreecommitdiffstats
path: root/bootloader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/Makefile')
-rw-r--r--bootloader/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloader/Makefile b/bootloader/Makefile
index 8a483c3191..c2bc54a6da 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}