summaryrefslogtreecommitdiff
path: root/arch/m68k/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-09-04 22:53:04 +0200
committerWolfgang Denk <wd@denx.de>2011-09-04 22:53:04 +0200
commit684cad5717ea5887a09f3c67732a17774a658b34 (patch)
treeb9732b98c6ceba2095e57e0cc2fd002cbb1e026c /arch/m68k/config.mk
parent6dfbf49c6dc3687efbc6d7f9e25bb46ed2d6c833 (diff)
parent3f8ce93956fea1fe30db9ea81bc7db1deb401eea (diff)
downloadu-boot-imx-684cad5717ea5887a09f3c67732a17774a658b34.zip
u-boot-imx-684cad5717ea5887a09f3c67732a17774a658b34.tar.gz
u-boot-imx-684cad5717ea5887a09f3c67732a17774a658b34.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-coldfire
* 'master' of git://git.denx.de/u-boot-coldfire: ColdFire:Clean up the CONFIG_STANDALONE_LOAD_ADDR usage ColdFire:Add mb for 5253 dram initialization ColdFire:Define the DM9000 byteswap for M5253 board. ColdFire:Update the env settings for several boards. ColdFire:disable the NFS define for 52277 board. ColdFire:Update the timer_init since it was unified. ColdFire: Cleanup for partial linking and --gc-sections ColdFire: Update compile flags for each CPUs ColdFire:Fix the configuration broken for some boards.
Diffstat (limited to 'arch/m68k/config.mk')
-rw-r--r--arch/m68k/config.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68k/config.mk b/arch/m68k/config.mk
index 863f3dd..11ba334 100644
--- a/arch/m68k/config.mk
+++ b/arch/m68k/config.mk
@@ -23,8 +23,9 @@
CROSS_COMPILE ?= m68k-elf-
-clibdir = $(shell dirname `$(CC) $(CFLAGS) -print-file-name=libc.a`)
-CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000 -L $(clibdir)
+CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
PLATFORM_CPPFLAGS += -DCONFIG_M68K -D__M68K__
PLATFORM_LDFLAGS += -n
+PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
+LDFLAGS_FINAL += --gc-sections