diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-19 13:35:52 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-25 08:57:44 +0100 |
commit | 9541ec7b5587323e8e1886ab37b9e8836d8df3ca (patch) | |
tree | 34f565542ea83971bb520cc62ecde33db1914d56 | |
parent | 4f3f34deafe4c1865e2880153a4427f4ee45acee (diff) | |
download | ast2050-yocto-poky-9541ec7b5587323e8e1886ab37b9e8836d8df3ca.zip ast2050-yocto-poky-9541ec7b5587323e8e1886ab37b9e8836d8df3ca.tar.gz |
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.
(From OE-Core rev: 30aaada4b79fc1acad5fdaba98071b63c52b9e05)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/allarch.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
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)) } |