[U-Boot-Users] MPC85xx config.mk patch for -mno-string
Jon Loeliger
jdl at freescale.com
Tue Dec 14 20:51:37 CET 2004
Wolfgang,
Taking Junita Ajith <junita_ppc at yahoo.com> suggestion,
here is a patch to the MPC85XX ADS and CDS config.mk
file to add the -mno-string option. Verifed working
using gcc version 3.3.3 (Yellow Dog Linux 3.3.3-16.ydl.4).
Thanks,
jdl
* Patch by Jon Loeliger, 14-Dec-2004:
Force MPC85xx build to use -mno-string as e500 core doesn't
implement string instructions.
Index: cpu/mpc85xx/config.mk
===================================================================
RCS file: /cm/vault/u-boot/u-boot/cpu/mpc85xx/config.mk,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 config.mk
--- cpu/mpc85xx/config.mk 17 Nov 2003 21:14:39 -0000 1.1.1.1
+++ cpu/mpc85xx/config.mk 14 Dec 2004 17:31:21 -0000
@@ -23,4 +23,6 @@
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
-PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx -DCONFIG_E500 -ffixed-r2 -ffixed-r29 -Wa,-me500 -msoft-float
+PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx -DCONFIG_E500 \
+ -ffixed-r2 -ffixed-r29 -mno-string\
+ -Wa,-me500 -msoft-float
More information about the U-Boot
mailing list