mirror of
https://git.yoctoproject.org/poky
synced 2026-03-12 18:29:42 +01:00
Cleanup the PowerPC tunings to match the new tuning README file.
Default PowerPC to using TUNE_PKGARCH = ${TUNE_PKGARCH_tune-<tune>}
Fix AVAILTUNE settings in ppc603e, and ppce500mc to be addative.
Correct potentially overlapping "spe" definitions in ppce500 and ppce500v2.
(From OE-Core rev: f81f71bcff4bb1032b034b068efe6065113ca9e7)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
632 B
PHP
15 lines
632 B
PHP
DEFAULTTUNE ?= "ppce500mc"
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc.inc
|
|
|
|
TUNEVALID[ppce500mc] = "Enable ppce500mc specific processor optimizations"
|
|
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-mcpu=e500mc", "", d)}"
|
|
|
|
AVAILTUNES += "ppce500mc"
|
|
TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc"
|
|
TUNE_PKGARCH_tune-ppce500mc = "ppce500mc"
|
|
PACKAGE_EXTRA_ARCHS_tune-ppce500mc = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce500mc"
|
|
|
|
# glibc configure options to get e500mc specific library (for sqrt)
|
|
GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-with-cpu=e500mc", "", d)}"
|