mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 13:39:49 +02:00
default-distrovars/multilib: update license whitelists to use canonical names
Now that all licenses are canonicalised to SPDX names when processing, we need to rename the whitelists to the match. [RP: Fixed up multilib.bbclass too] (From OE-Core rev: 5b6cdac26e35e9a3b8b09185fc16765fa99dfe5f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ba197e6ff3
commit
c9a16c563e
@@ -50,7 +50,7 @@ python multilib_virtclass_handler () {
|
||||
e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override)
|
||||
|
||||
# Expand the WHITELISTs with multilib prefix
|
||||
for whitelist in ["HOSTTOOLS_WHITELIST_GPLv3", "WHITELIST_GPLv3", "LGPLv2_WHITELIST_GPLv3"]:
|
||||
for whitelist in ["HOSTTOOLS_WHITELIST_GPL-3.0", "WHITELIST_GPL-3.0", "LGPLv2_WHITELIST_GPL-3.0"]:
|
||||
pkgs = e.data.getVar(whitelist, True)
|
||||
for pkg in pkgs.split():
|
||||
pkgs += " " + variant + "-" + pkg
|
||||
|
||||
Reference in New Issue
Block a user