summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-ppce500v2.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-26 12:36:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-27 15:45:49 +0100
commit9f54793089eb355bb83b8026557f07bfe1cc721f (patch)
treebc4fffdb46b4461b9f1db3f15d10f800ce0186af /meta/conf/machine/include/tune-ppce500v2.inc
parentf06bce4882e82d49f1f9ae88546ce3ee41f65b78 (diff)
downloadpoky-9f54793089eb355bb83b8026557f07bfe1cc721f.tar.gz
Add basic PowerPC core tune config
(From OE-Core rev: 3212029f0967dd353fec8cc147d2b95031d1018a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/tune-ppce500v2.inc')
-rw-r--r--meta/conf/machine/include/tune-ppce500v2.inc17
1 files changed, 14 insertions, 3 deletions
diff --git a/meta/conf/machine/include/tune-ppce500v2.inc b/meta/conf/machine/include/tune-ppce500v2.inc
index daf2d58005..819d68a50e 100644
--- a/meta/conf/machine/include/tune-ppce500v2.inc
+++ b/meta/conf/machine/include/tune-ppce500v2.inc
@@ -1,5 +1,16 @@
1DEFAULTTUNE ?= "ppce500v2"
2
1require conf/machine/include/powerpc/arch-powerpc.inc 3require conf/machine/include/powerpc/arch-powerpc.inc
2 4
3TUNE_CCARGS = "-mcpu=8548 -mabi=spe -mspe" 5TUNEVALID[ppce500v2] = "Enable ppce500v2 specific processor optimizations"
4TUNE_PKGARCH = "ppce500v2" 6TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "-mcpu=8548", "", d)}"
5PACKAGE_EXTRA_ARCHS = "powerpc ppce500v2" 7TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "ppce500v2", "", d)}"
8
9TUNEVALID[spe] = "Enable SPE ABI extensions"
10TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}"
11
12TARGET_FPU = "ppc-efd"
13
14AVAILTUNES += "ppce500v2"
15TUNE_FEATURES_tune-ppce500v2 = "m32 spe ppce500v2"
16PACKAGE_EXTRA_ARCHS_tune-ppce500v2 = "ppce500v2"