On Sat, Jul 6, 2013 at 4:08 PM, Martin Jansa <[email protected]> wrote:
> In this case yes, but what about allarch recipes, creating
> binutils-cross dependency in their do_package task would probably make
> their stamps depending on architecture.
>
def get_binutils_dep(d):
if 'target' in d.getVar('OVERRIDES', True).split():
return d.expand('virtual/${TARGET_PREFIX}binutils')
else:
return ''
do_package[depends] += "${@get_binutils_dep(d)}"
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core