diff options
| -rw-r--r-- | meta/classes/multilib.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index ec2013198c..1ad654f546 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
| @@ -77,9 +77,10 @@ python multilib_virtclass_handler () { | |||
| 77 | 77 | ||
| 78 | # Expand WHITELIST_GPL-3.0 with multilib prefix | 78 | # Expand WHITELIST_GPL-3.0 with multilib prefix |
| 79 | pkgs = e.data.getVar("WHITELIST_GPL-3.0") | 79 | pkgs = e.data.getVar("WHITELIST_GPL-3.0") |
| 80 | for pkg in pkgs.split(): | 80 | if pkgs: |
| 81 | pkgs += " " + variant + "-" + pkg | 81 | for pkg in pkgs.split(): |
| 82 | e.data.setVar("WHITELIST_GPL-3.0", pkgs) | 82 | pkgs += " " + variant + "-" + pkg |
| 83 | e.data.setVar("WHITELIST_GPL-3.0", pkgs) | ||
| 83 | 84 | ||
| 84 | # DEFAULTTUNE can change TARGET_ARCH override so expand this now before update_data | 85 | # DEFAULTTUNE can change TARGET_ARCH override so expand this now before update_data |
| 85 | newtune = e.data.getVar("DEFAULTTUNE:" + "virtclass-multilib-" + variant, False) | 86 | newtune = e.data.getVar("DEFAULTTUNE:" + "virtclass-multilib-" + variant, False) |
