mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1df8af4248
commit
b741780d43
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user