From: Emil Kronborg <[email protected]>

After commit cd25e5544ca3 ("insane: use HOST_ variables, not TARGET_ to
determine the cross system"), this check is no longer necessary. The
introduction of HOST_ variables ensures architecture compatibility is
correctly checked.

Signed-off-by: Emil Kronborg <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
(cherry picked from commit 6e1ddeb05dcd5ff77e0f5526a6e56a484daa4864)
Signed-off-by: Steve Sakoman <[email protected]>
---
 meta/classes-global/insane.bbclass | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/meta/classes-global/insane.bbclass 
b/meta/classes-global/insane.bbclass
index c32dfffd83..4eb8cb1397 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -344,11 +344,6 @@ def package_qa_check_arch(path,name,d, elf, messages):
         oe.qa.add_message(messages, "arch", pn + ": Recipe inherits the 
allarch class, but has packaged architecture-specific binaries")
         return
 
-    # FIXME: Cross package confuse this check, so just skip them
-    for s in ['cross', 'nativesdk', 'cross-canadian']:
-        if bb.data.inherits_class(s, d):
-            return
-
     # avoid following links to /usr/bin (e.g. on udev builds)
     # we will check the files pointed to anyway...
     if os.path.islink(path):
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#202360): 
https://lists.openembedded.org/g/openembedded-core/message/202360
Mute This Topic: https://lists.openembedded.org/mt/107504039/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to