summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2012-09-06 12:27:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-07 11:29:08 +0100
commit8663c7ba0530eb36728fe524ed0137e064cc1c5a (patch)
tree86cdc21c9cbfdc394ca0f03ea48c340f2bf9528f /meta/conf
parenteef5cca4f364545759d8cf624f38e3cd6e8fd295 (diff)
downloadopenembedded-core-8663c7ba0530eb36728fe524ed0137e064cc1c5a.tar.gz
openembedded-core-8663c7ba0530eb36728fe524ed0137e064cc1c5a.tar.bz2
openembedded-core-8663c7ba0530eb36728fe524ed0137e064cc1c5a.zip
conf/tune: add tune-ppce300c3
It has been pointed out several times that the yocto mpc8315e-rdb reference was using the wrong tuning (603e), since it is actually a e300c3 board. This commit creates a e300c3 tune file based on the e300c2 variant already in oe-core. This commit also inhibits altivec in flac when this new tuning is enabled and used by the mpc8315e-rdb [YOCTO #1192] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/include/tune-ppce300c3.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-ppce300c3.inc b/meta/conf/machine/include/tune-ppce300c3.inc
new file mode 100644
index 0000000000..3f5ac261a1
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppce300c3.inc
@@ -0,0 +1,11 @@
+DEFAULTTUNE ?= "ppce300c3"
+
+require conf/machine/include/powerpc/arch-powerpc.inc
+
+TUNEVALID[ppce300c3] = "Enable ppce300c3 specific processor optimizations"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce300c3", "-mcpu=e300c3", "", d)}"
+
+AVAILTUNES += "ppce300c3"
+TUNE_FEATURES_tune-ppce300c3 = "m32 fpu-soft ppce300c3"
+TUNE_PKGARCH_tune-ppce300c3 = "ppce300c3"
+PACKAGE_EXTRA_ARCHS_tune-ppce300c3 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppce300c3"