Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] multilib_global.bbclass: Avoid expanding native recipes in NON_MULTILIB_RECIPES
@ 2024-11-06 14:05 liezhi.yang
  2024-11-06 14:05 ` [PATCH 1/1] " liezhi.yang
  0 siblings, 1 reply; 2+ messages in thread
From: liezhi.yang @ 2024-11-06 14:05 UTC (permalink / raw)
  To: openembedded-core

From: Robert Yang <liezhi.yang@windriver.com>

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(+)

-- 
2.44.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] multilib_global.bbclass: Avoid expanding native recipes in NON_MULTILIB_RECIPES
  2024-11-06 14:05 [PATCH 0/1] multilib_global.bbclass: Avoid expanding native recipes in NON_MULTILIB_RECIPES liezhi.yang
@ 2024-11-06 14:05 ` liezhi.yang
  0 siblings, 0 replies; 2+ messages in thread
From: liezhi.yang @ 2024-11-06 14:05 UTC (permalink / raw)
  To: openembedded-core

From: Robert Yang <liezhi.yang@windriver.com>

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.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/classes/multilib_global.bbclass | 3 +++
 1 file changed, 3 insertions(+)

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 () {
     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 \
-- 
2.44.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-06 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06 14:05 [PATCH 0/1] multilib_global.bbclass: Avoid expanding native recipes in NON_MULTILIB_RECIPES liezhi.yang
2024-11-06 14:05 ` [PATCH 1/1] " liezhi.yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox