summaryrefslogtreecommitdiff
path: root/arch/mips/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-05-10 22:34:24 +0200
committerWolfgang Denk <wd@denx.de>2011-05-10 22:34:24 +0200
commit8c65b8a937c3d717c2507e4d8ed600ec664dbf43 (patch)
tree60179650825ae2afe3814b3ea9effe42dc6635a3 /arch/mips/config.mk
parent909e9bf3ae6195ac6d52f9e453fba2be8e7e947f (diff)
parent68cebb8027c282a949ac0ca7dcb5baabd1c6879a (diff)
downloadu-boot-imx-8c65b8a937c3d717c2507e4d8ed600ec664dbf43.zip
u-boot-imx-8c65b8a937c3d717c2507e4d8ed600ec664dbf43.tar.gz
u-boot-imx-8c65b8a937c3d717c2507e4d8ed600ec664dbf43.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'arch/mips/config.mk')
-rw-r--r--arch/mips/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/config.mk b/arch/mips/config.mk
index 318d34b..6ab8acd 100644
--- a/arch/mips/config.mk
+++ b/arch/mips/config.mk
@@ -50,3 +50,5 @@ PLATFORM_CPPFLAGS += -DCONFIG_MIPS -D__MIPS__
PLATFORM_CPPFLAGS += -G 0 -mabicalls -fpic
PLATFORM_CPPFLAGS += -msoft-float
PLATFORM_LDFLAGS += -G 0 -static -n -nostdlib
+PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
+LDFLAGS_FINAL += --gc-sections