summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes/blacklist.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/classes/blacklist.bbclass')
-rw-r--r--meta-oe/classes/blacklist.bbclass20
1 files changed, 0 insertions, 20 deletions
diff --git a/meta-oe/classes/blacklist.bbclass b/meta-oe/classes/blacklist.bbclass
deleted file mode 100644
index 7bf4a73a9..000000000
--- a/meta-oe/classes/blacklist.bbclass
+++ /dev/null
@@ -1,20 +0,0 @@
1# anonymous support class from angstrom
2#
3# Features:
4#
5# * blacklist handling, set ANGSTROM_BLACKLIST_pn-blah = "message"
6#
7
8python () {
9 import bb
10
11 blacklist = bb.data.getVar("ANGSTROM_BLACKLIST", d, 1)
12 pkgnm = bb.data.getVar("PN", d, 1)
13 distro = bb.data.getVar("DISTRO", d, 1)
14
15 if blacklist:
16 bb.note("%s DOES NOT support %s because %s" % (distro,pkgnm, blacklist))
17 raise bb.parse.SkipPackage("%s DOES NOT support %s because %s" % (distro,pkgnm, blacklist))
18
19}
20