[OE-core] [PATCH 1/1] toolchain-scripts.bbclass: use MLPREFIX to instead of MULTILIB_VARIANTS
Christopher Larson
clarson at kergoth.com
Tue Jul 7 13:22:05 UTC 2015
On Tue, Jul 7, 2015 at 12:17 AM, Robert Yang <liezhi.yang at windriver.com>
wrote:
> for dep in (d.getVar('TOOLCHAIN_NEED_CONFIGSITE_CACHE', True) or
> "").split():
> deps += " %s:do_populate_sysroot" % dep
> - for variant in (d.getVar('MULTILIB_VARIANTS', True) or
> "").split():
> - clsextend = oe.classextend.ClassExtender(variant, d)
> + mlprefix = d.getVar('MLPREFIX', True)
> + if mlprefix:
> + clsextend = oe.classextend.ClassExtender(mlprefix[:-1], d)
> newdep = clsextend.extend_name(dep)
> deps += " %s:do_populate_sysroot" % newdep
>
Do we really want to get MLPREFIX and construct a ClassExtender for each
dep in TOOLCHAIN_NEED_CONFIGSITE_CACHE? Could we do those outside the loop?
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150707/567478e7/attachment-0002.html>
More information about the Openembedded-core
mailing list