aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-09-02 17:39:52 -0400
committerbnewbold <bnewbold@robocracy.org>2010-09-02 17:39:52 -0400
commit800b8ca1c1463dd85101e242a94c7ca0ec8c459d (patch)
treea843bdcdc3c0d8937703d8240e6d6820eee78bb7 /Makefile
parentd6a32991684b7bfd8b91e3358dee4ca3fc887021 (diff)
downloadlibrambutan-800b8ca1c1463dd85101e242a94c7ca0ec8c459d.tar.gz
librambutan-800b8ca1c1463dd85101e242a94c7ca0ec8c459d.zip
board-specifc linker scripts
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9b80f13..9f362b6 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ endif
# Useful paths
ifeq ($(LIB_MAPLE_HOME),)
-SRCROOT := $(dir)
+SRCROOT := .
else
SRCROOT := $(LIB_MAPLE_HOME)
endif
@@ -46,15 +46,15 @@ include $(SUPPORT_PATH)/make/build-templates.mk
# Some target specific things
ifeq ($(MEMORY_TARGET), ram)
+ LDSCRIPT := $(BOARD)/ram.ld
VECT_BASE_ADDR := VECT_TAB_RAM
- LDSCRIPT := ram.ld
endif
ifeq ($(MEMORY_TARGET), flash)
- LDSCRIPT := flash.ld
+ LDSCRIPT := $(BOARD)/flash.ld
VECT_BASE_ADDR := VECT_TAB_FLASH
endif
ifeq ($(MEMORY_TARGET), jtag)
- LDSCRIPT := jtag.ld
+ LDSCRIPT := $(BOARD)/jtag.ld
VECT_BASE_ADDR := VECT_TAB_BASE
endif