summaryrefslogtreecommitdiffstats
path: root/bootloader/Makefile
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-09-09 11:20:20 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-09-09 11:20:20 +0000
commit9db22efd1fe133d7477fb7ceb6ded745dc889cdc (patch)
tree3618bcafee34be52d6bac212daf5e19ab843cadd /bootloader/Makefile
parentc9f6858de83ec5a15e4d4bdf78185cbca231e5bf (diff)
downloadrockbox-9db22efd1fe133d7477fb7ceb6ded745dc889cdc.tar.gz
rockbox-9db22efd1fe133d7477fb7ceb6ded745dc889cdc.tar.bz2
rockbox-9db22efd1fe133d7477fb7ceb6ded745dc889cdc.zip
Firmware "hacker" code for the e200r install so the full bootloader rom doesnt need to be written.
Requires a custom version of e200tool which isnt available yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14654 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/Makefile')
-rw-r--r--bootloader/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/Makefile b/bootloader/Makefile
index 342cdc5861..4c63cfea18 100644
--- a/bootloader/Makefile
+++ b/bootloader/Makefile
@@ -18,7 +18,7 @@ ifdef DEBUG
CFLAGS += -g
endif
-SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - )
+SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - )
DIRS = .
ifdef APPEXTRA
@@ -50,7 +50,7 @@ endif
dep: $(DEPFILE)
$(LINKFILE): $(LDS)
- $(call PRINTS,Build $(@F))cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P $(ROMBUILD) - >$@
+ $(call PRINTS,Build $(@F))cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) $(DEFINES) -E -P $(ROMBUILD) - >$@
$(MAXOUTFILE):
$(SILENT)echo '#include "config.h"' > $(MAXINFILE)