mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
insane.bbclass: remove skipping of cross-compiled packages
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.
(From OE-Core rev: dd29c810970038e9ee427cc1b75f61e708fcd0d5)
Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6e1ddeb05dcd5ff77e0f5526a6e56a484daa4864)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
0f729a445a
commit
9c03095105
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user