mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 03:03:02 +01: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>
25 lines
924 B
HTML
25 lines
924 B
HTML
DEFAULTTUNE ?= "powerpc64"
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc.inc
|
|
|
|
TUNEVALID[m64] = "Power ELF64 standard ABI"
|
|
TUNECONFLICTS[m64] = "m32 nf"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm64', ' -m64', '', d)}"
|
|
TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', [ 'm64' ], 'powerpc64${ENDIAN_SFX}', '', d)}"
|
|
|
|
# musl only supports elfv2 ABI for ppc64
|
|
TUNE_CCARGS .= "${@['', ' -mabi=elfv2']['libc-musl' in d.getVar('OVERRIDES').split(':')]}"
|
|
|
|
AVAILTUNES += "powerpc64 powerpc64le"
|
|
|
|
TUNE_FEATURES:tune-powerpc64 = "m64 fpu-hard bigendian"
|
|
BASE_LIB:tune-powerpc64 = "lib64"
|
|
TUNE_PKGARCH:tune-powerpc64 = "powerpc64"
|
|
PACKAGE_EXTRA_ARCHS:tune-powerpc64 = "powerpc64"
|
|
|
|
TUNE_FEATURES:tune-powerpc64le = "m64 fpu-hard"
|
|
BASE_LIB:tune-powerpc64le = "lib64"
|
|
TUNE_PKGARCH:tune-powerpc64le = "powerpc64le"
|
|
PACKAGE_EXTRA_ARCHS:tune-powerpc64le = "powerpc64le"
|
|
QEMU_EXTRAOPTIONS:tune-powerpc64le = " -cpu POWER9"
|