blacklist.bbclass: Remove

moved into OE-Core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Khem Raj 2012-09-12 06:03:35 +00:00 committed by Koen Kooi
parent 72e6ed1469
commit 7c5fb741a4

View File

@ -1,20 +0,0 @@
# 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))
}