mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
(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>
21 lines
493 B
Plaintext
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))
|
|
|
|
}
|
|
|