summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/allarch.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index c953e7c7d7..4bc99272c4 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -37,5 +37,7 @@ python () {
37 d.setVar("EXCLUDE_FROM_SHLIBS", "1") 37 d.setVar("EXCLUDE_FROM_SHLIBS", "1")
38 d.setVar("INHIBIT_PACKAGE_DEBUG_SPLIT", "1") 38 d.setVar("INHIBIT_PACKAGE_DEBUG_SPLIT", "1")
39 d.setVar("INHIBIT_PACKAGE_STRIP", "1") 39 d.setVar("INHIBIT_PACKAGE_STRIP", "1")
40 elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d):
41 bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE", True))
40} 42}
41 43