mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-08-07 04:19:02 +02:00
blacklist_dynamic.bbclass: use getVar, not expand, for PNBLACKLIST_DYNAMIC
This ensures that _append/_prepend/_remove are also applied, so the user can remove elements from the variable. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -34,7 +34,7 @@ python pnblacklist_dynamic_setup () {
|
||||
localdata.setVar('OVERRIDES', localdata.getVar('OVERRIDES', False) + override)
|
||||
bb.data.update_data(localdata)
|
||||
|
||||
to_blacklist |= set(filter(None, localdata.expand(blacklisted).split()))
|
||||
to_blacklist |= set(filter(None, localdata.getVar('PNBLACKLIST_DYNAMIC').split()))
|
||||
|
||||
for blrecipe in to_blacklist:
|
||||
d.setVarFlag('PNBLACKLIST', blrecipe, 'blacklisted by PNBLACKLIST_DYNAMIC')
|
||||
|
||||
Reference in New Issue
Block a user