From 20c388957334478ae6c8a531b3a6796d5e264f7f Mon Sep 17 00:00:00 2001 From: Emil Kronborg Date: Thu, 23 May 2024 12:55:25 +0000 Subject: 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/classes-global/insane.bbclass | 5 ----- 1 file changed, 5 deletions(-) (limited to 'meta') 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): 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): -- cgit v1.2.3-54-g00ecf