diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-26 12:36:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 15:45:49 +0100 |
commit | 9f54793089eb355bb83b8026557f07bfe1cc721f (patch) | |
tree | bc4fffdb46b4461b9f1db3f15d10f800ce0186af /meta/conf/machine/include/tune-ppce500v2.inc | |
parent | f06bce4882e82d49f1f9ae88546ce3ee41f65b78 (diff) | |
download | poky-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.inc | 17 |
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 @@ | |||
1 | DEFAULTTUNE ?= "ppce500v2" | ||
2 | |||
1 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
2 | 4 | ||
3 | TUNE_CCARGS = "-mcpu=8548 -mabi=spe -mspe" | 5 | TUNEVALID[ppce500v2] = "Enable ppce500v2 specific processor optimizations" |
4 | TUNE_PKGARCH = "ppce500v2" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "-mcpu=8548", "", d)}" |
5 | PACKAGE_EXTRA_ARCHS = "powerpc ppce500v2" | 7 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "ppce500v2", "", d)}" |
8 | |||
9 | TUNEVALID[spe] = "Enable SPE ABI extensions" | ||
10 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}" | ||
11 | |||
12 | TARGET_FPU = "ppc-efd" | ||
13 | |||
14 | AVAILTUNES += "ppce500v2" | ||
15 | TUNE_FEATURES_tune-ppce500v2 = "m32 spe ppce500v2" | ||
16 | PACKAGE_EXTRA_ARCHS_tune-ppce500v2 = "ppce500v2" | ||