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>
This commit is contained in:
Khem Raj
2020-03-25 16:16:37 -07:00
committed by Richard Purdie
parent 4b57b45b37
commit 10be0e446c
2 changed files with 14136 additions and 23 deletions

View File

@@ -114,13 +114,7 @@ export CC_FOR_BUILD = "LD_LIBRARY_PATH= ${BUILD_CC}"
MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}"
do_configure[vardeps] += "MULTIARCH"
do_configure () {
(for d in . bfd binutils gas gold gprof ld libctf opcodes; do
cd ${S}/$d
autoconf
rm -rf autom4te.cache
done
cd ${S}
gnu-configize)
(cd ${S} && gnu-configize)
oe_runconf
#