mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 09:32:11 +02:00
The per-tune qemu options variable is QEMU_EXTRAOPTIONS_${TUNE_PKGARCH},
but this doesn't follow the pattern of all of the other tune-specific
variables in the machine configuration which is VARIABLE:tune-[name].
Rename QEMU_EXTRAOPTIONS_${TUNE_PKGARCH} to
QEMU_EXTRAOPTIONS:tune-${TUNE_PKGARCH} for consistency.
Note that this will mean that BSPs need to update any assignments of
this variable.
(From OE-Core rev: 7f981d074442b901f7e64dbdb9db851ff31c3733)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 lines
974 B
PHP
22 lines
974 B
PHP
DEFAULTTUNE ?= "ppce500v2"
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc.inc
|
|
|
|
TUNEVALID[ppce500v2] = "Enable ppce500v2 specific processor optimizations"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce500v2', ' -mcpu=8548', '', d)}"
|
|
|
|
TUNEVALID[spe] = "Enable SPE ABI extensions"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', [ 'ppce500v2', 'spe' ], ' -mabi=spe -mspe -mfloat-gprs=double', '', d)}"
|
|
TARGET_FPU .= "${@bb.utils.contains('TUNE_FEATURES', [ 'ppce500v2' , 'spe' ], 'ppc-efd', '', d)}"
|
|
|
|
# spe is defined potentially in two places, so we want to be sure it will
|
|
# only write spe once to the ABIEXTENSIONS field.
|
|
SPEABIEXTENSION = "${@bb.utils.filter('TUNE_FEATURES', 'spe', d)}"
|
|
ABIEXTENSION .= "${SPEABIEXTENSION}"
|
|
|
|
AVAILTUNES += "ppce500v2"
|
|
TUNE_FEATURES:tune-ppce500v2 = "m32 ppce500v2 bigendian"
|
|
TUNE_PKGARCH:tune-ppce500v2 = "ppce500v2"
|
|
PACKAGE_EXTRA_ARCHS:tune-ppce500v2 = "ppce500v2"
|
|
QEMU_EXTRAOPTIONS:tune-ppce500v2 = " -cpu e500v2"
|