diff options
| author | Emil Kronborg <emil.kronborg@protonmail.com> | 2024-05-23 12:55:25 +0000 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-07-26 07:43:46 -0700 |
| commit | 9c030951054dc589d928d45bef22160f5fa368fb (patch) | |
| tree | a51ffb6c964f5af7814f55e88926af3c0e2547f4 /meta/classes-global | |
| parent | 0f729a445ae0a65e59c4937c2ef453511f98cd10 (diff) | |
| download | poky-9c030951054dc589d928d45bef22160f5fa368fb.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: 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>
Diffstat (limited to 'meta/classes-global')
| -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 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): | |||
| 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): |
