diff options
author | Emil Kronborg <emil.kronborg@protonmail.com> | 2024-05-23 12:55:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-03 07:47:04 +0100 |
commit | 20c388957334478ae6c8a531b3a6796d5e264f7f (patch) | |
tree | 0e531f5b789ad91891d5a0c044a3b100f2532001 /meta | |
parent | 35b139f5543349c95b83314eba1b3f7a5346f29f (diff) | |
download | poky-20c388957334478ae6c8a531b3a6796d5e264f7f.tar.gz |
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: 6e1ddeb05dcd5ff77e0f5526a6e56a484daa4864)
Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes-global/insane.bbclass | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 99736830b9..3f26e1e065 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): | |||
344 | oe.qa.add_message(messages, "arch", pn + ": Recipe inherits the allarch class, but has packaged architecture-specific binaries") | 344 | oe.qa.add_message(messages, "arch", pn + ": Recipe inherits the allarch class, but has packaged architecture-specific binaries") |
345 | return | 345 | return |
346 | 346 | ||
347 | # FIXME: Cross package confuse this check, so just skip them | ||
348 | for s in ['cross', 'nativesdk', 'cross-canadian']: | ||
349 | if bb.data.inherits_class(s, d): | ||
350 | return | ||
351 | |||
352 | # avoid following links to /usr/bin (e.g. on udev builds) | 347 | # avoid following links to /usr/bin (e.g. on udev builds) |
353 | # we will check the files pointed to anyway... | 348 | # we will check the files pointed to anyway... |
354 | if os.path.islink(path): | 349 | if os.path.islink(path): |