From 34ec08dc283590a25215689f41379412a6293668 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Fri, 24 Aug 2018 11:46:40 +0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/utils.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/utils.bbclass') 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: -- cgit v1.2.3-54-g00ecf