diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2024-11-06 06:05:20 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-12 11:19:44 +0000 |
commit | 242e47dd0940d74cdc3e2d611612dbf268f9dd63 (patch) | |
tree | ef888eba55c88c8f1af6abb111e0dda36bba2fa8 | |
parent | eca49ca726c1551fbe9e0adcfdfde529133abbf9 (diff) | |
download | poky-242e47dd0940d74cdc3e2d611612dbf268f9dd63.tar.gz |
multilib_global.bbclass: Avoid expanding native recipes in NON_MULTILIB_RECIPES
Fixed:
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "x86"
MACHINE = "qemux86-64"
$ bitbake lib32-grub-native
The build would go on before the patch which was incorrect. Now:
ERROR: Nothing PROVIDES 'lib32-grub-native'. Close matches:
[snip]
The nativesdk doesn't have such an issue, so only skip native.
(From OE-Core rev: 73bea15bb5d0f70b587d2ad1007cc0282652eed7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/multilib_global.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass index 973ac9130b..c95c3a586d 100644 --- a/meta/classes/multilib_global.bbclass +++ b/meta/classes/multilib_global.bbclass | |||
@@ -184,6 +184,9 @@ python multilib_virtclass_handler_global () { | |||
184 | if variant: | 184 | if variant: |
185 | return | 185 | return |
186 | 186 | ||
187 | if bb.data.inherits_class('native', d): | ||
188 | return | ||
189 | |||
187 | non_ml_recipes = d.getVar('NON_MULTILIB_RECIPES').split() | 190 | non_ml_recipes = d.getVar('NON_MULTILIB_RECIPES').split() |
188 | 191 | ||
189 | if bb.data.inherits_class('kernel', d) or \ | 192 | if bb.data.inherits_class('kernel', d) or \ |