Files
poky/meta/classes/blacklist.bbclass
Mark Hatle 866424804e blacklist: fix typo in name
(From OE-Core rev: 02a5fe21cad2ec29268de7f3a556bb827f726998)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-11 17:50:49 +01:00

21 lines
493 B
Plaintext

# 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))
}