summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-03-27 14:51:08 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-28 10:10:56 +0100
commitf1f7680263143a67ca345970ab8d3f91d14934a5 (patch)
treeca94a3c204a613544e17959cc7838a04290f0133 /meta
parent9192e49426a13d150d1dcc641705c628e33ecd21 (diff)
downloadpoky-f1f7680263143a67ca345970ab8d3f91d14934a5.tar.gz
powerpc e500: set -mfloat-gprs=double
Use of FPRs instead of GPRs is incompatible with e500/SPE, so let's be explicit about the use of GPRs to avoid potential errors. For example, with the Sourcery G++ toolchain, one can hit: conftest.c:1:0: error: E500 and FPRs not supported. (From OE-Core rev: 32bb6afe3e6f3e374e4d14edc238b46a90d44169) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/machine/include/tune-ppce500.inc2
-rw-r--r--meta/conf/machine/include/tune-ppce500v2.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/machine/include/tune-ppce500.inc b/meta/conf/machine/include/tune-ppce500.inc
index 1326720834..feb1967b4f 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", "
7TUNE_PKGARCH_tune-ppce500 = "ppce500" 7TUNE_PKGARCH_tune-ppce500 = "ppce500"
8 8
9TUNEVALID[spe] = "Enable SPE ABI extensions" 9TUNEVALID[spe] = "Enable SPE ABI extensions"
10TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}" 10TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe -mfloat-gprs=double", "", d)}"
11 11
12TARGET_FPU = "ppc-efs" 12TARGET_FPU = "ppc-efs"
13 13
diff --git a/meta/conf/machine/include/tune-ppce500v2.inc b/meta/conf/machine/include/tune-ppce500v2.inc
index e7b51c6d03..f0158d0440 100644
--- a/meta/conf/machine/include/tune-ppce500v2.inc
+++ b/meta/conf/machine/include/tune-ppce500v2.inc
@@ -7,7 +7,7 @@ TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "-mcpu=8548",
7TUNE_PKGARCH_tune-ppce500v2 = "ppce500v2" 7TUNE_PKGARCH_tune-ppce500v2 = "ppce500v2"
8 8
9TUNEVALID[spe] = "Enable SPE ABI extensions" 9TUNEVALID[spe] = "Enable SPE ABI extensions"
10TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}" 10TUNE_CCARGS += '${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe -mfloat-gprs=double", "", d)}'
11 11
12TARGET_FPU = "ppc-efd" 12TARGET_FPU = "ppc-efd"
13 13