On Tue, 2014-04-01 at 14:12 +0800, [email protected] wrote: > From: Zongchun Yu <[email protected]> > > When use command bitbake -c populate_sdk <target-rootfs> to > generate toolchain. a race issue may occur. in this case need > to add binutils-cross to depends. > > Signed-off-by: Zongchun Yu <[email protected]> > --- > meta/recipes-devtools/libtool/libtool-2.4.2.inc | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/meta/recipes-devtools/libtool/libtool-2.4.2.inc > b/meta/recipes-devtools/libtool/libtool-2.4.2.inc > index d26982d..0868dd7 100644 > --- a/meta/recipes-devtools/libtool/libtool-2.4.2.inc > +++ b/meta/recipes-devtools/libtool/libtool-2.4.2.inc > @@ -36,7 +36,7 @@ do_compile_prepend () { > inherit autotools > EXTRA_AUTORECONF = "--exclude=libtoolize" > > -DEPENDS = "libtool-native" > +DEPENDS = "libtool-native binutils-cross" > > PACKAGES =+ "libltdl libltdl-dev libltdl-dbg libltdl-staticdev" > FILES_${PN} += "${datadir}/aclocal"
You're patching the .inc file here so this dependency is being applied to multiple different libtools. Can you perhaps explain the problem you were seeing with a step by step how to reproduce the problem? I'd like to understand the real problem here, I don't doubt it exists but I'm not sure this is the correct fix. Cheers, Richard -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
