diff options
author | Ross Burton <ross.burton@arm.com> | 2025-01-10 13:13:39 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-01-24 07:49:28 -0800 |
commit | 966aead7e857386206e69b37487e9ace6ee31eba (patch) | |
tree | aaf33865aebb72ee0fb1ee5a9c112ebc0254326d /scripts/pybootchartgui/pybootchartgui.py | |
parent | 83dfb365a81248aa3453bd62e24d870aae862f0b (diff) | |
download | poky-966aead7e857386206e69b37487e9ace6ee31eba.tar.gz |
classes/qemu: use tune to select QEMU_EXTRAOPTIONS, not package architecture
Using the package architecture to select the right qemu options to pass
to qemu-user is incorrect, and fails for recipes that set PACKAGE_ARCH
to MACHINE_ARCH (as the qemuppc workarounds suggest) because there are
not typically any options set for the machine name.
Solve this by using TUNE_PKGARCH instead: for the majority of recipes
this is the same value, but for machine-specific recipes it remains the
same instead of changing to the machine name.
This means we can remove the qemuppc workarounds, as they're obsolete.
Also update the gcc-testsuite recipe which uses the same pattern to use
TUNE_PKGARCH, and generalise the else codepath to avoid needing to
update the list of architectures.
[ YOCTO #15647 ]
(From OE-Core rev: 077aab43f2c928eb8da71934405c62327010f552)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui.py')
0 files changed, 0 insertions, 0 deletions