summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass5
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):
457 provides = d.getVar('PROVIDES', True) 457 provides = d.getVar('PROVIDES', True)
458 bpn = d.getVar('BPN', True) 458 bpn = d.getVar('BPN', True)
459 459
460 if target_arch == "allarch":
461 pn = d.getVar('PN', True)
462 messages["arch"] = pn + ": Recipe inherits the allarch class, but has packaged architecture-specific binaries"
463 return
464
460 # FIXME: Cross package confuse this check, so just skip them 465 # FIXME: Cross package confuse this check, so just skip them
461 for s in ['cross', 'nativesdk', 'cross-canadian']: 466 for s in ['cross', 'nativesdk', 'cross-canadian']:
462 if bb.data.inherits_class(s, d): 467 if bb.data.inherits_class(s, d):