diff mbox series

insane.bbclass: remove skipping of cross-compiled packages

Message ID 20240523125458.45955-1-emil.kronborg@protonmail.com
State New
Headers show
Series insane.bbclass: remove skipping of cross-compiled packages | expand

Commit Message

Emil Kronborg May 23, 2024, 12:55 p.m. UTC
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 <emil.kronborg@protonmail.com>
---
 meta/classes-global/insane.bbclass | 5 -----
 1 file changed, 5 deletions(-)


base-commit: 50f78cb9de68cd4317f34321dfdb06d72ce5d3c6
prerequisite-patch-id: c1ecd83bbd60a912f70347e0333a5f13b967c047
diff mbox series

Patch

diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index d6124ef121a8..b9d11d49106e 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):