X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fm68k%2Fconfig.mk;h=11ba334a610aa56627520f8d2fb7da7429b906a3;hb=2ab575e05d715a1b9818b4a1f6a9d7ccb5bdb32a;hp=749c38968ab1823cb403d2a063e7c73fad0a77a0;hpb=ea0364f1bbfed1e3ea711147420875cf338fe77a;p=u-boot diff --git a/arch/m68k/config.mk b/arch/m68k/config.mk index 749c38968a..11ba334a61 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`) -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