summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-03-25 16:16:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-30 12:33:29 +0100
commit10be0e446ca2adf325cd59a3d1ec6c01709c208f (patch)
tree789bbe09eb44b2a7e9e6c879b32ec9761243fd0c /meta/recipes-devtools/binutils/binutils.inc
parent4b57b45b379cb11abb031bcff4a7ae5a2247f50e (diff)
downloadpoky-10be0e446ca2adf325cd59a3d1ec6c01709c208f.tar.gz
binutils: Pregenerate autoconf files
libtool patch will result in configure file regeneration, instead of doing that at build time, do it in patch itself, this avoids running autoconf before configure step. Since binutils needs specific version of autoconf ( which is 2.69 ) this will break on systems using newer or older verisons of autoconf in current state. (From OE-Core rev: 525d703d6f846e9706481a816910aef2ee70fb54) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index b0937e62fc..53f46bb611 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -114,13 +114,7 @@ export CC_FOR_BUILD = "LD_LIBRARY_PATH= ${BUILD_CC}"
114MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}" 114MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}"
115do_configure[vardeps] += "MULTIARCH" 115do_configure[vardeps] += "MULTIARCH"
116do_configure () { 116do_configure () {
117 (for d in . bfd binutils gas gold gprof ld libctf opcodes; do 117 (cd ${S} && gnu-configize)
118 cd ${S}/$d
119 autoconf
120 rm -rf autom4te.cache
121 done
122 cd ${S}
123 gnu-configize)
124 118
125 oe_runconf 119 oe_runconf
126# 120#