aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-05-07 21:47:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 08:48:42 +0100
commit50ac2ed5299e2b47b2f3fd9c9cde9d733d2f8d9b (patch)
treed7a87479ec0ec0b7d1abe6053c512927b65b1653 /meta/recipes-devtools
parent9843ad9d783f68b97fedfe5b435528538bb26c1c (diff)
downloadopenembedded-core-contrib-50ac2ed5299e2b47b2f3fd9c9cde9d733d2f8d9b.tar.gz
gcc-configure-cross.inc: Remove info generation
Some distros have newer makeinfo which does not go well with anything below gcc 4.8, this fix avoids regenerating info files Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-cross.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
index 243ee55d08..db7980ba0c 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
@@ -11,6 +11,9 @@ EXTRA_OECONF_PATHS = " \
--with-sysroot=${STAGING_DIR_TARGET} \
--with-build-sysroot=${STAGING_DIR_TARGET}"
+do_configure_prepend () {
+ sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure
+}
do_compile_prepend () {
export CC="${BUILD_CC}"
export AR_FOR_TARGET="${TARGET_SYS}-ar"