[oe-commits] Richard Purdie : allarch: Add warning about packagegroup
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 19 19:41:56 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: a75ddc0cc10af83be8b6b34826214d96700006d3
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a75ddc0cc10af83be8b6b34826214d96700006d3
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Tue Aug 19 13:35:52 2014 +0100
allarch: Add warning about packagegroup
Since we want to start including this class conditionally, detect cases
where packagegroup files use the old ordering and inform the user they
need to update this.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/allarch.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index c953e7c..4bc9927 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -37,5 +37,7 @@ python () {
d.setVar("EXCLUDE_FROM_SHLIBS", "1")
d.setVar("INHIBIT_PACKAGE_DEBUG_SPLIT", "1")
d.setVar("INHIBIT_PACKAGE_STRIP", "1")
+ elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d):
+ bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE", True))
}
More information about the Openembedded-commits
mailing list