summaryrefslogtreecommitdiffstats
path: root/meta/classes/blacklist.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-07-30 15:18:10 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 21:24:16 (GMT)
commitb741780d43ad412f6a1ae91d8489ec3522447ea2 (patch)
tree29a4db6635bf511a9919c950c4807c300b4ef428 /meta/classes/blacklist.bbclass
parent1df8af4248250b9bdbde3b15a00933cf49dd1356 (diff)
downloadpoky-b741780d43ad412f6a1ae91d8489ec3522447ea2.tar.gz
base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()
The FOO[doc] is set in meta/conf/documentation.conf, we need remove it from d.getVarFlags()'s return dict when it causes many loops. (From OE-Core rev: 595a7af8d0a52b24e2bdb5c373c64d27b54bb25b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/blacklist.bbclass')
-rw-r--r--meta/classes/blacklist.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/blacklist.bbclass b/meta/classes/blacklist.bbclass
index a0141a8..39b3f82 100644
--- a/meta/classes/blacklist.bbclass
+++ b/meta/classes/blacklist.bbclass
@@ -28,6 +28,8 @@ python blacklist_multilib_eventhandler() {
28 prefixes.append(eext[1]) 28 prefixes.append(eext[1])
29 29
30 blacklists = e.data.getVarFlags('PNBLACKLIST') or {} 30 blacklists = e.data.getVarFlags('PNBLACKLIST') or {}
31 # Remove PNBLACKLIST[doc]
32 blacklists.pop('doc', None)
31 for pkg, reason in blacklists.items(): 33 for pkg, reason in blacklists.items():
32 if pkg.endswith(("-native", "-crosssdk")) or pkg.startswith(("nativesdk-", "virtual/nativesdk-")) or 'cross-canadian' in pkg: 34 if pkg.endswith(("-native", "-crosssdk")) or pkg.startswith(("nativesdk-", "virtual/nativesdk-")) or 'cross-canadian' in pkg:
33 continue 35 continue