summaryrefslogtreecommitdiffstats
path: root/meta/classes/utils.bbclass
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:14 +0100
commit34ec08dc283590a25215689f41379412a6293668 (patch)
tree32374eb676b97c4d56ee5632cad36bacf335dd5e /meta/classes/utils.bbclass
parent950d863a6e38ff31f8c471b7c48199a1e82e609e (diff)
downloadpoky-34ec08dc283590a25215689f41379412a6293668.tar.gz
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' (From OE-Core rev: 0791c4d39edbedaa493a9fc6aa6e7415f14980bb) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/utils.bbclass')
-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):
360 values = {} 360 values = {}
361 for v in vars: 361 for v in vars:
362 values[v] = [] 362 values[v] = []
363 values['ml'] = ['']
363 364
364 variants = (d.getVar("MULTILIB_VARIANTS") or "").split() + [''] 365 variants = (d.getVar("MULTILIB_VARIANTS") or "").split() + ['']
365 for item in variants: 366 for item in variants: