]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
insane.bbclass: remove skipping of cross-compiled packages
authorEmil Kronborg <emil.kronborg@protonmail.com>
Thu, 23 May 2024 12:55:25 +0000 (12:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Jun 2024 06:47:00 +0000 (07:47 +0100)
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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-global/insane.bbclass

index 99736830b9a8d1759392a894ddd9562705aab8aa..3f26e1e065e8e7265feb3d31365e12a092f50a32 100644 (file)
@@ -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):