mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

The new name is much more consistent with what this actually means. We put the pieces in place to rename everything a while back but looks like we forgot to actually do it! Fix that now. (From OE-Core rev: af9612f5d6b848fceea22d10ee964437299be776) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
499 B
Plaintext
21 lines
499 B
Plaintext
# anonymous support class from originally from angstrom
|
|
#
|
|
# To use the blacklist, a distribution should include this
|
|
# class in the INHERIT_DISTRO
|
|
#
|
|
# No longer use ANGSTROM_BLACKLIST, instead use a table of
|
|
# recipes in PNBLACKLIST
|
|
#
|
|
# Features:
|
|
#
|
|
# * To add a package to the blacklist, set:
|
|
# PNBLACKLIST[pn] = "message"
|
|
#
|
|
|
|
python () {
|
|
blacklist = d.getVarFlag('PNBLACKLIST', d.getVar('PN'))
|
|
|
|
if blacklist:
|
|
raise bb.parse.SkipRecipe("Recipe is blacklisted: %s" % (blacklist))
|
|
}
|