[oe-commits] Tim Harvey : gdb-cross-sdk.inc: Do not run autoreconf

git version control git at git.openembedded.org
Wed Oct 13 23:03:31 UTC 2010


Module: openembedded.git
Branch: master
Commit: 90cdd0e3813a274a19a2625f664542ef7f93e8f7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=90cdd0e3813a274a19a2625f664542ef7f93e8f7

Author: Tim Harvey <harvey.tim at gmail.com>
Date:   Wed Oct 13 15:58:20 2010 -0700

gdb-cross-sdk.inc: Do not run autoreconf

* GDB autoconfigury mandates uses of a given autconf e.g. 2.64 for gdb
  7.1, but OE's default autoconf native is 2.65 and it does not go so
  well with gdb. We do not really need to recreate configure if it its not
  needed

Signed-off-by: Tim Harvey <harvey.tim at gmail.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/gdb/gdb-cross-sdk.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc
index 9949e10..adc2ed3 100644
--- a/recipes/gdb/gdb-cross-sdk.inc
+++ b/recipes/gdb/gdb-cross-sdk.inc
@@ -7,7 +7,7 @@ inherit sdk
 DEPENDS = "ncurses-native zlib-native expat-native flex-native"
 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"
 
-do_configure_append () {
+do_configure () {
 	cd ${B}
 	oe_runmake configure-host
 	sed -e 's,-lncurses,${STAGING_LIBDIR_NATIVE}/libncurses.a ${STAGING_LIBDIR_NATIVE}/libtinfo.a ,g' -i ${B}/gdb/Makefile
@@ -17,4 +17,5 @@ do_configure_append () {
 	for SIM in ${B}/sim/*/Makefile; do
 		[ -f $SIM ] && sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i $SIM
 	done
+	oe_runconf
 }





More information about the Openembedded-commits mailing list