]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
avr32: fix linking of atstk100x and favr32 boards
authorAndreas Bießmann <biessmann@corscience.de>
Wed, 9 Jun 2010 08:27:32 +0000 (10:27 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Jun 2010 20:37:11 +0000 (22:37 +0200)
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>
board/atmel/atstk1000/config.mk
board/earthlcd/favr-32-ezkit/config.mk

index ec3618d56a2f950311ff6710d017d1f0e8c112ce..40e55fefe829a04db1f28619eab019b2176a4d95 100644 (file)
@@ -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
index 2337d6223969774c612fd7ec41b54cfec84eba25..5c919cd64be431610c963c3218247e6bfec5afa6 100644 (file)
@@ -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