]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/m68k/config.mk
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / arch / m68k / config.mk
index 863f3ddbc6a641566632706e367b223c6a1ab606..11ba334a610aa56627520f8d2fb7da7429b906a3 100644 (file)
@@ -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