diff options
Diffstat (limited to 'bootloader/Makefile')
-rw-r--r-- | bootloader/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bootloader/Makefile b/bootloader/Makefile index 3272510051..07f347ee16 100644 --- a/bootloader/Makefile +++ b/bootloader/Makefile | |||
@@ -46,12 +46,8 @@ ifdef APPEXTRA | |||
46 | INCLUDES += $(patsubst %,-I%,$(subst :, ,$(APPEXTRA))) | 46 | INCLUDES += $(patsubst %,-I%,$(subst :, ,$(APPEXTRA))) |
47 | endif | 47 | endif |
48 | 48 | ||
49 | ifndef VERSION | 49 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(DEFINES) $(EXTRA_DEFINES) \ |
50 | VERSION=$(shell date +%y%m%d-%H%M) | 50 | -DMEM=${MEMORYSIZE} |
51 | endif | ||
52 | |||
53 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(DEFINES) \ | ||
54 | -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} | ||
55 | 51 | ||
56 | OBJS := $(SRC:%.c=$(OBJDIR)/%.o) | 52 | OBJS := $(SRC:%.c=$(OBJDIR)/%.o) |
57 | SOURCES = $(SRC) | 53 | SOURCES = $(SRC) |