mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08: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
602 B
HTML
15 lines
602 B
HTML
DEFAULTTUNE ?= "ppc603e"
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc.inc
|
|
|
|
TUNEVALID[ppc603e] = "Enable ppc603e specific processor optimizations"
|
|
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-mcpu=603e", "", d)}"
|
|
|
|
AVAILTUNES += "ppc603e"
|
|
TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e"
|
|
TUNE_PKGARCH_tune-ppc603e = "ppc603e"
|
|
PACKAGE_EXTRA_ARCHS_tune-ppc603e = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc603e"
|
|
|
|
# glibc configure options to get 603e specific library (for sqrt)
|
|
GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-with-cpu=603e", "", d)}"
|