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.ja...@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.ja...@gmail.com
signature.asc
Description: Digital signature
_______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core