multilib_global.bbclass: Avoid expanding native recipes in NON_MULTILIB_RECIPES
cover multilib_global.bbclass: Avoid expanding native recipes in NON_MULTILIB_RECIPES
From: Robert Yang <[email protected]>
The following changes since commit e86686cbdbaf5368fae0a490d52a043f8ed4fa0f:
bitbake.conf: Enable ipv6/acl/xattr for nativesdk (2024-11-06 10:11:06 +0000)
are available in the Git repository at:
https://github.com/robertlinux/yocto rbt/multilib
https://github.com/robertlinux/yocto/tree/rbt/multilib
Robert Yang (1):
multilib_global.bbclass: Avoid expanding native recipes in
NON_MULTILIB_RECIPES
meta/classes/multilib_global.bbclass | 3 +++ 1 file changed, 3 insertions(+)
Signature · 1 line
2.44.1
PATCH 1/1 multilib_global.bbclass: Avoid expanding native recipes in NON_MULTILIB_RECIPES
From: Robert Yang <[email protected]>
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.
--- meta/classes/multilib_global.bbclass | 3 +++ 1 file changed, 3 insertions(+)
meta/classes/multilib_global.bbclass +3 -0
@@ -184,6 +184,9 @@ python multilib_virtclass_handler_global () { if variant: return + if bb.data.inherits_class('native', d): + return + non_ml_recipes = d.getVar('NON_MULTILIB_RECIPES').split() if bb.data.inherits_class('kernel', d) or \
Signature · 1 line
2.44.1