waf: boards: fix bug in boards environment merge

This commit is contained in:
Francisco Ferreira 2016-03-16 21:56:47 +00:00 committed by Lucas De Marchi
parent bf3dda9156
commit f8727f7362

View File

@ -44,7 +44,7 @@ class Board:
keys.sort()
val = ['%s=%s' % (vk, val[vk]) for vk in keys]
if k in cfg.env and isinstance(cfg.env, list):
if k in cfg.env and isinstance(cfg.env[k], list):
cfg.env.prepend_value(k, val)
else:
cfg.env[k] = val