diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-05-09 10:21:35 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-11 17:49:06 +0100 |
commit | 02a5fe21cad2ec29268de7f3a556bb827f726998 (patch) | |
tree | 7e1ee09303448f8c04b8a6d468d020d3a5a3570f /meta | |
parent | 1410f735bca5d1ad2ad1c75fa17288d223d078a0 (diff) | |
download | openembedded-core-02a5fe21cad2ec29268de7f3a556bb827f726998.tar.gz openembedded-core-02a5fe21cad2ec29268de7f3a556bb827f726998.tar.bz2 openembedded-core-02a5fe21cad2ec29268de7f3a556bb827f726998.zip |
blacklist: fix typo in name
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Import directly from meta-openembedded commit: a63c374cdc785ade69d2998978d08280e671dc1f
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/blacklist.bbclass | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/classes/blacklist.bbclass b/meta/classes/blacklist.bbclass new file mode 100644 index 0000000000..7bf4a73a9a --- /dev/null +++ b/meta/classes/blacklist.bbclass @@ -0,0 +1,20 @@ +# anonymous support class from angstrom +# +# Features: +# +# * blacklist handling, set ANGSTROM_BLACKLIST_pn-blah = "message" +# + +python () { + import bb + + blacklist = bb.data.getVar("ANGSTROM_BLACKLIST", d, 1) + pkgnm = bb.data.getVar("PN", d, 1) + distro = bb.data.getVar("DISTRO", d, 1) + + if blacklist: + bb.note("%s DOES NOT support %s because %s" % (distro,pkgnm, blacklist)) + raise bb.parse.SkipPackage("%s DOES NOT support %s because %s" % (distro,pkgnm, blacklist)) + +} + |