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

Martin Jansa martin.jansa at gmail.com
Sat Jul 6 23:32:26 UTC 2013


On Sat, Jul 06, 2013 at 04:20:00PM -0700, Chris Larson wrote:
> 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)}"

class-target will be in recipes which inherits allarch

that code should also respect
EXCLUDE_FROM_SHLIBS
INHIBIT_PACKAGE_DEBUG_SPLIT
INHIBIT_PACKAGE_STRIP
flags

I think objcopy is needed only with some combination of these.

With binutils-cross in BASEDEPENDS I don't know how many recipes will
need do_package -> binutils-cross.do_populate_sysroot, maybe just this
one eglibc-locale...

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130707/75456082/attachment-0002.sig>


More information about the Openembedded-core mailing list