summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2010-06-09 10:27:32 +0200
committerWolfgang Denk <wd@denx.de>2010-06-29 22:37:11 +0200
commit418cbb0abc8aa28a130366bd9d982cc4afd478c7 (patch)
treeeeeaa83c83b603d68e308e70cb9fd55e6299a518
parenteb70d05d740c1d82474d2c31242a4e995584de24 (diff)
downloadu-boot-imx-418cbb0abc8aa28a130366bd9d982cc4afd478c7.zip
u-boot-imx-418cbb0abc8aa28a130366bd9d982cc4afd478c7.tar.gz
u-boot-imx-418cbb0abc8aa28a130366bd9d982cc4afd478c7.tar.bz2
avr32: fix linking of atstk100x and favr32 boards
When building some avr32 boards out of tree (e.g. O=..) the linker script could not be found. This patch references the linker script in source tree. Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
-rw-r--r--board/atmel/atstk1000/config.mk2
-rw-r--r--board/earthlcd/favr-32-ezkit/config.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/atmel/atstk1000/config.mk b/board/atmel/atstk1000/config.mk
index ec3618d..40e55fe 100644
--- a/board/atmel/atstk1000/config.mk
+++ b/board/atmel/atstk1000/config.mk
@@ -1,4 +1,4 @@
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
PLATFORM_LDFLAGS += --gc-sections
TEXT_BASE = 0x00000000
-LDSCRIPT = $(obj)board/atmel/atstk1000/u-boot.lds
+LDSCRIPT = $(src)board/atmel/atstk1000/u-boot.lds
diff --git a/board/earthlcd/favr-32-ezkit/config.mk b/board/earthlcd/favr-32-ezkit/config.mk
index 2337d62..5c919cd 100644
--- a/board/earthlcd/favr-32-ezkit/config.mk
+++ b/board/earthlcd/favr-32-ezkit/config.mk
@@ -1,4 +1,4 @@
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
PLATFORM_LDFLAGS += --gc-sections
TEXT_BASE = 0x00000000
-LDSCRIPT = $(obj)board/earthlcd/favr-32-ezkit/u-boot.lds
+LDSCRIPT = $(src)board/earthlcd/favr-32-ezkit/u-boot.lds