mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
qemu/machine: rename QEMU_EXTRAOPTIONS for consistency
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>
This commit is contained in:
committed by
Richard Purdie
parent
0165c71b10
commit
a1b9c06ff5
@@ -54,7 +54,7 @@ python check_prepare() {
|
||||
if qemu_binary.endswith(("x86_64", "i386", "arm", "aarch64")):
|
||||
args += ["-cpu", "max"]
|
||||
else:
|
||||
extra = d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('TUNE_PKGARCH'))
|
||||
extra = d.getVar("QEMU_EXTRAOPTIONS:tune-%s" % d.getVar('TUNE_PKGARCH'))
|
||||
if extra:
|
||||
args += extra.split()
|
||||
# For mips64 we could set a maximal CPU (e.g. Loongson-3A4000) however they either have MSA
|
||||
|
||||
Reference in New Issue
Block a user