diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-07-30 08:18:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 22:24:16 +0100 |
commit | b741780d43ad412f6a1ae91d8489ec3522447ea2 (patch) | |
tree | 29a4db6635bf511a9919c950c4807c300b4ef428 /meta | |
parent | 1df8af4248250b9bdbde3b15a00933cf49dd1356 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/base.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/blacklist.bbclass | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index f0780011bd..10cb10b83b 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -349,6 +349,8 @@ python () { | |||
349 | # PACKAGECONFIG ??= "<default options>" | 349 | # PACKAGECONFIG ??= "<default options>" |
350 | # PACKAGECONFIG[foo] = "--enable-foo,--disable-foo,foo_depends,foo_runtime_depends" | 350 | # PACKAGECONFIG[foo] = "--enable-foo,--disable-foo,foo_depends,foo_runtime_depends" |
351 | pkgconfigflags = d.getVarFlags("PACKAGECONFIG") or {} | 351 | pkgconfigflags = d.getVarFlags("PACKAGECONFIG") or {} |
352 | # Remove PACKAGECONFIG[doc] | ||
353 | pkgconfigflags.pop('doc', None) | ||
352 | if pkgconfigflags: | 354 | if pkgconfigflags: |
353 | pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split() | 355 | pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split() |
354 | pn = d.getVar("PN", True) | 356 | 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() { | |||
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 |