From: Chen Qi Date: Fri, 24 Aug 2018 03:46:40 +0000 (+0800) Subject: utils.bbclass: fix KeyError exception X-Git-Tag: uninative-2.3~539 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0791c4d39edbedaa493a9fc6aa6e7415f14980bb;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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: