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 authored and Richard Purdie committed 2020-03-30 12:33:29 +01:00
1 parent 4b57b45b37
commit 10be0e446c
2 files changed
+14136 -23

No files matched your search

+1 -7
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
#
File diff suppressed because it is too large. Load diff