diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-09-06 12:27:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-07 12:10:39 +0100 |
commit | 72dc770cd926988b045cfff92ab30c89d6a417c1 (patch) | |
tree | 38222f0fd92776cba59b175f28788b82a1de3a1c /meta | |
parent | dd3edc9fbb674682947e8218202fdbeef8635dd5 (diff) | |
download | poky-72dc770cd926988b045cfff92ab30c89d6a417c1.tar.gz |
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]
(From OE-Core rev: 8663c7ba0530eb36728fe524ed0137e064cc1c5a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/machine/include/tune-ppce300c3.inc | 11 | ||||
-rw-r--r-- | meta/recipes-multimedia/flac/flac_1.2.1.bb | 1 |
2 files changed, 12 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 @@ | |||
1 | DEFAULTTUNE ?= "ppce300c3" | ||
2 | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | ||
4 | |||
5 | TUNEVALID[ppce300c3] = "Enable ppce300c3 specific processor optimizations" | ||
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce300c3", "-mcpu=e300c3", "", d)}" | ||
7 | |||
8 | AVAILTUNES += "ppce300c3" | ||
9 | TUNE_FEATURES_tune-ppce300c3 = "m32 fpu-soft ppce300c3" | ||
10 | TUNE_PKGARCH_tune-ppce300c3 = "ppce300c3" | ||
11 | PACKAGE_EXTRA_ARCHS_tune-ppce300c3 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppce300c3" | ||
diff --git a/meta/recipes-multimedia/flac/flac_1.2.1.bb b/meta/recipes-multimedia/flac/flac_1.2.1.bb index 3c5b73c48b..157128fdc2 100644 --- a/meta/recipes-multimedia/flac/flac_1.2.1.bb +++ b/meta/recipes-multimedia/flac/flac_1.2.1.bb | |||
@@ -39,6 +39,7 @@ EXTRA_OECONF = "--disable-oggtest --disable-id3libtest \ | |||
39 | EXTRA_OECONF_prepend_e500mc = "--disable-altivec " | 39 | EXTRA_OECONF_prepend_e500mc = "--disable-altivec " |
40 | EXTRA_OECONF_prepend_e5500 = "--disable-altivec " | 40 | EXTRA_OECONF_prepend_e5500 = "--disable-altivec " |
41 | EXTRA_OECONF_prepend_e5500-64b = "--disable-altivec " | 41 | EXTRA_OECONF_prepend_e5500-64b = "--disable-altivec " |
42 | EXTRA_OECONF_prepend_mpc8315e-rdb = "--disable-altivec " | ||
42 | 43 | ||
43 | PACKAGES += "libflac libflac++ liboggflac liboggflac++" | 44 | PACKAGES += "libflac libflac++ liboggflac liboggflac++" |
44 | FILES_${PN} = "${bindir}/*" | 45 | FILES_${PN} = "${bindir}/*" |