]> git.sur5r.net Git - u-boot/blobdiff - arch/avr32/config.mk
powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros
[u-boot] / arch / avr32 / config.mk
index 9488c49132832e02a6d9d80f539012be5755193b..d8e7ebb0be3f0c72c8dbe7e627262fecf5274c01 100644 (file)
@@ -26,4 +26,8 @@ CROSS_COMPILE ?= avr32-linux-
 CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
 
 PLATFORM_RELFLAGS      += -ffixed-r5 -fPIC -mno-init-got -mrelax
-PLATFORM_LDFLAGS       += --relax
+PLATFORM_RELFLAGS      += -ffunction-sections -fdata-sections
+
+LDFLAGS_u-boot         = --gc-sections --relax
+
+LDSCRIPT                       = $(SRCTREE)/$(CPUDIR)/u-boot.lds