summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorsascha <sascha@nomad.localdomain>2007-10-17 12:21:53 +0200
committersascha <sascha@nomad.localdomain>2007-10-17 12:21:53 +0200
commitd59ca7feb3220ae846a10b6f7da0712e2c1feae3 (patch)
tree5be088d4b9a0b5c8a2101faffc1ca17a668c63e5 /arch/blackfin
parentb36fca0cb81493c26825d4f1df1c61bebd5df942 (diff)
downloadbarebox-d59ca7feb3220ae846a10b6f7da0712e2c1feae3.tar.gz
barebox-d59ca7feb3220ae846a10b6f7da0712e2c1feae3.tar.xz
Linking: Remove linker scripts from (arm based-) boards and add
a generic linker script to arch/arm/lib/u-boot.lds.S. If a board wants to overwrite a linker script it can do so using CONFIG_BOARD_LINKER_SCRIPT. There is no generic linker script for ppc and blackfin yet, so still use the board specific one.
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
index a3a1cf53f8..2ca75dc993 100644
--- a/arch/blackfin/Makefile
+++ b/arch/blackfin/Makefile
@@ -53,6 +53,8 @@ CPU :=
endif
common-y += $(BOARD)
-common-y += arch/blackfin/lib/ $(CPU)
+common-y += arch/blackfin/lib/ $(CPU)
+
+lds-y += $(BOARD)/u-boot.lds
MRPROPER_FILES += include/asm-arm/arch include/asm-arm/proc