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-ppce500.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-ppce500.inc')
-rw-r--r-- | meta/conf/machine/include/tune-ppce500.inc | 18 |
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 @@ | |||
1 | DEFAULTTUNE ?= "ppce500" | ||
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=8540" | 5 | TUNEVALID[ppce500] = "Enable ppce500 specific processor optimizations" |
4 | BASE_PACKAGE_ARCH = "ppce500" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "-mcpu=8540", "", d)}" |
5 | TUNE_PKGARCH = "ppce500" | 7 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "ppce500", "", d)}" |
6 | PACKAGE_EXTRA_ARCHS = "powerpc ppce500" | 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-efs" | ||
13 | |||
14 | AVAILTUNES += "ppce500" | ||
15 | TUNE_FEATURES_tune-ppce500 = "m32 spe ppce500" | ||
16 | PACKAGE_EXTRA_ARCHS_tune-ppce500 = "ppce500" | ||