summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf@grond.atmel.com>2010-01-12 22:03:30 +0100
committerGravatar Ulf Samuelsson <ulf@grond.atmel.com>2010-01-12 22:03:30 +0100
commit4db79e74c4507c5a1c609a9db8769dfb2b346bc1 (patch)
treed609f371aab788d9d8afe89f6d27c203146ab1f0
parent2f8b4bde3784f979bedf54a77892aafcd4f80bb2 (diff)
downloadat91bootstrap-4db79e74c4507c5a1c609a9db8769dfb2b346bc1.tar.gz
at91bootstrap-4db79e74c4507c5a1c609a9db8769dfb2b346bc1.tar.bz2
Build should depend on MACH_TYPE and TOP_OF_MEMORY
-rw-r--r--toplevel_cpp.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/toplevel_cpp.mk b/toplevel_cpp.mk
index 3efa87b..3fcb59a 100644
--- a/toplevel_cpp.mk
+++ b/toplevel_cpp.mk
@@ -4,8 +4,12 @@ CPPFLAGS += \
-DIMG_ADDRESS=$(IMG_ADDRESS) \
-DIMG_SIZE=$(IMG_SIZE) \
-DJUMP_ADDR=$(JUMP_ADDR) \
+ -DTOP_OF_MEMORY=$(TOP_OF_MEMORY) \
+ -DMACH_TYPE=$(MACH_TYPE) \
-ASFLAGS += -DJUMP_ADDR=$(JUMP_ADDR)
+ASFLAGS += -DJUMP_ADDR=$(JUMP_ADDR) \
+ -DTOP_OF_MEMORY=$(TOP_OF_MEMORY) \
+ -DMACH_TYPE=$(MACH_TYPE) \
ifeq ($(CONFIG_APP_CHECK),y)