]> git.sur5r.net Git - u-boot/blobdiff - arch/m68k/config.mk
m68k: Fix wrong assembler instruction in start.S
[u-boot] / arch / m68k / config.mk
index 749c38968ab1823cb403d2a063e7c73fad0a77a0..11ba334a610aa56627520f8d2fb7da7429b906a3 100644 (file)
@@ -23,8 +23,9 @@
 
 CROSS_COMPILE ?= m68k-elf-
 
-clibdir = $(shell dirname `$(CC) $(CFLAGS) -print-file-name=libc.a`)
-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