summaryrefslogtreecommitdiffstats
path: root/mips_config.mk
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2008-06-05 22:29:00 +0900
committerShinya Kuribayashi <shinya.kuribayashi@necel.com>2008-06-05 22:29:00 +0900
commitf0d5a6f060d00358b85c62a921a423ea8df71184 (patch)
tree76d699ae42879c7532de97b71dd8072efccfe2bd /mips_config.mk
parent5f64d21c9a2998794f255b469165b91f092dfc2d (diff)
downloadtalos-obmc-uboot-f0d5a6f060d00358b85c62a921a423ea8df71184.tar.gz
talos-obmc-uboot-f0d5a6f060d00358b85c62a921a423ea8df71184.zip
[MIPS] mips_config.mk: Misc fixes
- Kill redundant `-pipe' (this will be added by $(TOPDIR)/config.mk) - Modify comments Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'mips_config.mk')
-rw-r--r--mips_config.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/mips_config.mk b/mips_config.mk
index 67fb67d291..05eb05d045 100644
--- a/mips_config.mk
+++ b/mips_config.mk
@@ -40,10 +40,9 @@ PLATFORM_CPPFLAGS += -DCONFIG_MIPS -D__MIPS__
# LDFLAGS_vmlinux += -G 0 -static -n -nostdlib
# MODFLAGS += -mlong-calls
#
-
-#
-# Meanwhile, U-Boot rely on PIC. We add proper switches explicitly.
+# On the other hand, we want PIC in the U-Boot code to relocate it from ROM
+# to RAM. $28 is always used as gp.
#
-PLATFORM_CPPFLAGS += -G 0 -mabicalls -fpic -pipe
+PLATFORM_CPPFLAGS += -G 0 -mabicalls -fpic
PLATFORM_CPPFLAGS += -msoft-float
PLATFORM_LDFLAGS += -G 0 -static -n -nostdlib
OpenPOWER on IntegriCloud