]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags() rbt/pkg
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 30 Jul 2015 08:41:08 +0000 (01:41 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Thu, 30 Jul 2015 15:16:09 +0000 (08:16 -0700)
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>
meta/classes/base.bbclass
meta/classes/blacklist.bbclass

index b7e22ad0db32c870624ec21741b57f55348fb3fe..9e33f444762d4fa75d9b782e2b50fddfe364b77c 100644 (file)
@@ -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)
index a0141a82c0967736d10211a712c3fd15880782f6..39b3f828c61cd1949a06bda4efb56d01f00543cf 100644 (file)
@@ -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