aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-08-24 11:46:40 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-24 07:53:09 +0100
commit0791c4d39edbedaa493a9fc6aa6e7415f14980bb (patch)
tree05a59f4ebda2b58567daa3cfe29fede65909a40b
parent35b92053c5bc0f4ae4b92ca75456535ff78797a2 (diff)
downloadopenembedded-core-contrib-0791c4d39edbedaa493a9fc6aa6e7415f14980bb.tar.gz
openembedded-core-contrib-0791c4d39edbedaa493a9fc6aa6e7415f14980bb.tar.bz2
openembedded-core-contrib-0791c4d39edbedaa493a9fc6aa6e7415f14980bb.zip
utils.bbclass: fix KeyError exception
The following statement was accidently removed. Add it back. values['ml'] = [''] This patch fixes the following error. Exception: KeyError: 'ml' Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/utils.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index e12e93af24..0016e5c4e6 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -360,6 +360,7 @@ def all_multilib_tune_list(vars, d):
values = {}
for v in vars:
values[v] = []
+ values['ml'] = ['']
variants = (d.getVar("MULTILIB_VARIANTS") or "").split() + ['']
for item in variants: