summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-ppce500.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-ppce500.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-ppce500.inc')
-rw-r--r--meta/conf/machine/include/tune-ppce500.inc18
1 files changed, 14 insertions, 4 deletions
diff --git a/meta/conf/machine/include/tune-ppce500.inc b/meta/conf/machine/include/tune-ppce500.inc
index 22208f0722..c34d63149f 100644
--- a/meta/conf/machine/include/tune-ppce500.inc
+++ b/meta/conf/machine/include/tune-ppce500.inc
@@ -1,6 +1,16 @@
1DEFAULTTUNE ?= "ppce500"
2
1require conf/machine/include/powerpc/arch-powerpc.inc 3require conf/machine/include/powerpc/arch-powerpc.inc
2 4
3TUNE_CCARGS = "-mcpu=8540" 5TUNEVALID[ppce500] = "Enable ppce500 specific processor optimizations"
4BASE_PACKAGE_ARCH = "ppce500" 6TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "-mcpu=8540", "", d)}"
5TUNE_PKGARCH = "ppce500" 7TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "ppce500", "", d)}"
6PACKAGE_EXTRA_ARCHS = "powerpc ppce500" 8
9TUNEVALID[spe] = "Enable SPE ABI extensions"
10TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}"
11
12TARGET_FPU = "ppc-efs"
13
14AVAILTUNES += "ppce500"
15TUNE_FEATURES_tune-ppce500 = "m32 spe ppce500"
16PACKAGE_EXTRA_ARCHS_tune-ppce500 = "ppce500"