From 10be0e446ca2adf325cd59a3d1ec6c01709c208f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 25 Mar 2020 16:16:37 -0700 Subject: 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 Cc: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/binutils/binutils.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'meta/recipes-devtools/binutils/binutils.inc') 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}" 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 # -- cgit v1.2.3-54-g00ecf