def xcheck_prog(conf, var, tool, cross=False):
value = os.environ.get(var, '')
value = Utils.to_list(value)
if not value:
return
conf.env[var] = value
if cross:
pretty = 'cross-compilation %s' % var
else:
pretty = var
conf.msg('Will use %s' % pretty,
" ".join(quote(x) for x in value))
评论列表
文章目录