diff options
author | Ross Burton <ross.burton@arm.com> | 2025-01-10 13:01:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-11 18:34:15 +0000 |
commit | 1fa2f50f759b17db1ea53f88f93d7edfae36f8bf (patch) | |
tree | cd44b19300dab47d88647f2a48e4623d26c1aee9 /scripts/lib/build_perf/html.py | |
parent | db4c8e1d715de276b241872ae483a2e2bd32e93d (diff) | |
download | poky-1fa2f50f759b17db1ea53f88f93d7edfae36f8bf.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: 414b754a6cbb9cc354b1180efd5c3329568a2537)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf/html.py')
0 files changed, 0 insertions, 0 deletions