[oe-commits] Khem Raj : gcc-configure-cross.inc: Remove info generation
git at git.openembedded.org
git at git.openembedded.org
Wed May 22 16:08:55 UTC 2013
Module: openembedded-core.git
Branch: dylan
Commit: 913d847694d24f356c34dba8e815934d761047d0
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=913d847694d24f356c34dba8e815934d761047d0
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue May 7 21:47:16 2013 -0700
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
(From OE-Core master rev: 50ac2ed5299e2b47b2f3fd9c9cde9d733d2f8d9b)
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/gcc/gcc-configure-cross.inc | 3 +++
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 243ee55..db7980b 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"
More information about the Openembedded-commits
mailing list