]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Jan 2024 10:13:41 +0000 (10:13 +0000)
commitdfd704f1741dccd9a85338c5d45dee4be079064d
treefbfaecb911656e2f8e39e36fe9082e34c114dce4
parentf46a211108854b4dabac0336cdcb2cf7b003d7cd
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>
meta/classes-recipe/allarch.bbclass