浏览代码

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>
Khem Raj 5 年之前
父节点
当前提交
10be0e446c

+ 1 - 7
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
 #

文件差异内容过多而无法显示
+ 440 - 472
meta/recipes-devtools/binutils/binutils/0007-Use-libtool-2.4.patch


部分文件因为文件数量过多而无法显示