aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-07-30 01:41:08 -0700
committerRobert Yang <liezhi.yang@windriver.com>2015-07-30 08:16:09 -0700
commit50edd6dd2fa86d9a51cc54ecdaa1599a1efc5a43 (patch)
tree7f3e14a1aec33cf8a9514ff6ad45177556004678
parent5a438f9c9891d850808a0ca91d545d34291ff23d (diff)
downloadopenembedded-core-contrib-rbt/pkg.tar.gz
openembedded-core-contrib-rbt/pkg.tar.bz2
openembedded-core-contrib-rbt/pkg.zip
base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()rbt/pkg
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/classes/base.bbclass2
-rw-r--r--meta/classes/blacklist.bbclass2
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index b7e22ad0db..9e33f44476 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -336,6 +336,8 @@ python () {
# PACKAGECONFIG ??= "<default options>"
# PACKAGECONFIG[foo] = "--enable-foo,--disable-foo,foo_depends,foo_runtime_depends"
pkgconfigflags = d.getVarFlags("PACKAGECONFIG") or {}
+ # Remove PACKAGECONFIG[doc]
+ pkgconfigflags.pop('doc', None)
if pkgconfigflags:
pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split()
pn = d.getVar("PN", True)
diff --git a/meta/classes/blacklist.bbclass b/meta/classes/blacklist.bbclass
index a0141a82c0..39b3f828c6 100644
--- a/meta/classes/blacklist.bbclass
+++ b/meta/classes/blacklist.bbclass
@@ -28,6 +28,8 @@ python blacklist_multilib_eventhandler() {
prefixes.append(eext[1])
blacklists = e.data.getVarFlags('PNBLACKLIST') or {}
+ # Remove PNBLACKLIST[doc]
+ blacklists.pop('doc', None)
for pkg, reason in blacklists.items():
if pkg.endswith(("-native", "-crosssdk")) or pkg.startswith(("nativesdk-", "virtual/nativesdk-")) or 'cross-canadian' in pkg:
continue