[OE-core] [PATCH 1/1] utils.bbclass: fix KeyError exception

Chen Qi Qi.Chen at windriver.com
Fri Aug 24 03:46:40 UTC 2018


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 at windriver.com>
---
 meta/classes/utils.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index e12e93a..0016e5c 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:
-- 
1.9.1




More information about the Openembedded-core mailing list