mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
We need to ensure only one value ends up in TUNE_PKGARCH rather than several. This change ensures consistency accross all the PPC tune files and that they correctly inherit the core value but also allow it to be overwritten. (From OE-Core rev: f9a8b719dd3fc7593a509c8f288caf1486add2f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 lines
468 B
PHP
12 lines
468 B
PHP
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)}"
|
|
TUNE_PKGARCH = "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', 'ppc603e', '${PPCPKGARCH}', d)}"
|
|
|
|
AVAILTUNES += "ppc603e"
|
|
TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e"
|
|
PACKAGE_EXTRA_ARCHS_tune-ppc603e = "powerpc ppc603e"
|