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 /meta | |
parent | 4f3f34deafe4c1865e2880153a4427f4ee45acee (diff) | |
download | 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>
Diffstat (limited to 'meta')
-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 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 | ||