Skip to contentSkip to conversation

mips_config.mk: Misc fixes

U-Boot-Users Shinya Kuribayashi 1 participant 1 message May 24, 2008

lore
Share & tools
lore
#0 lore raw

- Kill redundant `-pipe' (this will be added by $(TOPDIR)/config.mk)
- Modify comments

---

 mips_config.mk |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
mips_config.mk +3 -4
index 67fb67d..05eb05d 100644
@@ -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