summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPhil Blundell <pb@pbcl.net>2014-01-10 12:54:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-09 11:04:16 +0000
commit301ae757732166e0b9dc83fe5b73b78a24bfe301 (patch)
tree75c6b1d04977059cdc1291aa8fa664aff47860ec /meta
parentabc38c0259be59d0a94c4db21cc584fa601fc38f (diff)
downloadpoky-301ae757732166e0b9dc83fe5b73b78a24bfe301.tar.gz
binutils: Also add autoconf-native to DEPENDS
Commit 616354f13732d13c17434d5b60b166f691c25761 is insufficient because gnu-config-native's gnu-configize script uses perl modules from autoconf and hence doesn't work unless autoconf-native is staged (which it may not be if building from sstate). Ideally g-c-n would itself declare a dependency on autoconf-native but this is difficult to arrange without creating a dependency loop. autoconf-native already depends on gnu-config-native (because autoreconf invokes gnu-configize) and has a build dependency on m4-native, which in turn build-depends on g-c-n because it configizes itself by steam in do_configure and needs config.{guess,sub} to be available. Adding some sort of gnu-config-initial-native recipe would fix the latter problem, but this would be ugly because it would need special-casing in (at least) autotools.bbclass, and in any case this still wouldn't solve the problem of autoconf itself depending on g-c-n. So, the easiest solution to the problem at hand is to arrange for those few recipes that depend on g-c-n but not autoconf-native to gain that latter dependency as well. (From OE-Core master rev: 507199e57acfcc99639dc2c53abe194d77d60866) (From OE-Core rev: bbf8f596ca51aa33bdb5b0d5664827d62408863c) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index b8463ab1cc..3b8e594fc6 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -11,7 +11,7 @@ BUGTRACKER = "http://sourceware.org/bugzilla/"
11SECTION = "devel" 11SECTION = "devel"
12LICENSE = "GPLv3" 12LICENSE = "GPLv3"
13 13
14DEPENDS = "flex-native bison-native zlib-native gnu-config-native" 14DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"
15 15
16inherit autotools gettext multilib_header 16inherit autotools gettext multilib_header
17 17