]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
allarch: Fix allarch corner case
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Jan 2024 12:35:19 +0000 (12:35 +0000)
committerSteve Sakoman <steve@sakoman.com>
Wed, 14 Feb 2024 17:09:08 +0000 (07:09 -1000)
commit2e206eb9b43c267e939ccb3cdfa62d9666ff5efa
tree4604e30a99fe8ea66dfd89217af9d8ca20fc5d2d
parentcc21356c4147f47bc6879826bf2e801cb3acd695
allarch: Fix allarch corner case

Most of the allarch code is conditional and only set if the recipe remains marked
as allarch. The qemu wrapper handling is not handled in the same way however and
is unconditional.

Move the code to some slightly uglier inline python to allow it to be conditional
and match the way the rest of the code works.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfd704f1741dccd9a85338c5d45dee4be079064d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes-recipe/allarch.bbclass