From 800b8ca1c1463dd85101e242a94c7ca0ec8c459d Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 2 Sep 2010 17:39:52 -0400 Subject: board-specifc linker scripts --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3