[OE-core] [PATCHv2 1/2] eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutils

Chris Larson clarson at kergoth.com
Sat Jul 6 23:20:00 UTC 2013


On Sat, Jul 6, 2013 at 4:08 PM, Martin Jansa <martin.jansa at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130706/bddcd3fb/attachment-0002.html>


More information about the Openembedded-core mailing list