mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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:
@@ -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))
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user