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-ppce300c2.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-ppce300c2.inc')
-rw-r--r-- | meta/conf/machine/include/tune-ppce300c2.inc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/conf/machine/include/tune-ppce300c2.inc b/meta/conf/machine/include/tune-ppce300c2.inc index a38e97c18b..bad2611ca5 100644 --- a/meta/conf/machine/include/tune-ppce300c2.inc +++ b/meta/conf/machine/include/tune-ppce300c2.inc | |||
@@ -1,5 +1,11 @@ | |||
1 | DEFAULTTUNE ?= "ppce300c2" | ||
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=e300c2 -msoft-float" | 5 | TUNEVALID[ppce300c2] = "Enable ppce300c2 specific processor optimizations" |
4 | TUNE_PKGARCH = "ppce300" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce300c2", "-mcpu=e300c2", "", d)}" |
5 | PACKAGE_EXTRA_ARCHS = "powerpc ppce300" | 7 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce300c2", "ppce300c2", "${TUNE_ARCH}", d)}" |
8 | |||
9 | AVAILTUNES += "ppce300c2" | ||
10 | TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2" | ||
11 | PACKAGE_EXTRA_ARCHS_tune-ppce300c2 = "powerpc-nf ppce300c2" | ||