mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
multilib: Use renamed SKIP_RECIPE varFlag
This is a more descriptive variable name updated in base.bbclass (From OE-Core rev: d28227ff665f4dcc4e7522829e531cdc1fbb1da4) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dd9c94e66f
commit
267517adc7
@@ -65,11 +65,11 @@ python multilib_virtclass_handler () {
|
||||
|
||||
override = ":virtclass-multilib-" + variant
|
||||
|
||||
blacklist = e.data.getVarFlag('PNBLACKLIST', e.data.getVar('PN'))
|
||||
if blacklist:
|
||||
skip_msg = e.data.getVarFlag('SKIP_RECIPE', e.data.getVar('PN'))
|
||||
if skip_msg:
|
||||
pn_new = variant + "-" + e.data.getVar('PN')
|
||||
if not e.data.getVarFlag('PNBLACKLIST', pn_new):
|
||||
e.data.setVarFlag('PNBLACKLIST', pn_new, blacklist)
|
||||
if not e.data.getVarFlag('SKIP_RECIPE', pn_new):
|
||||
e.data.setVarFlag('SKIP_RECIPE', pn_new, skip_msg)
|
||||
|
||||
e.data.setVar("MLPREFIX", variant + "-")
|
||||
e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False))
|
||||
|
||||
Reference in New Issue
Block a user