[OE-core] [PATCH] tune-ppce500: correct the -mfloat-gprs compiler option

Christopher Larson kergoth at gmail.com
Fri Mar 30 22:50:14 UTC 2012


From: Christopher Larson <chris_larson at mentor.com>

Per Edmar at Freescale, e500v2 needs -mfloat-gprs=double, but e500v1 needs
-mfloat-gprs=single.

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
 meta/conf/machine/include/tune-ppce500.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/machine/include/tune-ppce500.inc b/meta/conf/machine/include/tune-ppce500.inc
index feb1967..c966560 100644
--- a/meta/conf/machine/include/tune-ppce500.inc
+++ b/meta/conf/machine/include/tune-ppce500.inc
@@ -7,7 +7,7 @@ TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "-mcpu=8540", "
 TUNE_PKGARCH_tune-ppce500 = "ppce500"
 
 TUNEVALID[spe] = "Enable SPE ABI extensions"
-TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe -mfloat-gprs=double", "", d)}"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe -mfloat-gprs=single", "", d)}"
 
 TARGET_FPU = "ppc-efs"
 
-- 
1.7.7





More information about the Openembedded-core mailing list