[OE-core] [PATCH] libtool: Add depends on binutils-cross
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Apr 1 10:52:44 UTC 2014
On Tue, 2014-04-01 at 14:12 +0800, b40527 at freescale.com wrote:
> From: Zongchun Yu <Zongchun.Yu at freescale.com>
>
> 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 <Zongchun.Yu at freescale.com>
> ---
> 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
More information about the Openembedded-core
mailing list