diff options
-rw-r--r-- | meta/classes/insane.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 14d4a3c63d..e12f2ec381 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -457,6 +457,11 @@ def package_qa_check_arch(path,name,d, elf, messages): provides = d.getVar('PROVIDES', True) bpn = d.getVar('BPN', True) + if target_arch == "allarch": + pn = d.getVar('PN', True) + 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): |