gdb-cross-sdk.inc: Do not run autoreconf
authorTim Harvey <harvey.tim@gmail.com>
Wed, 13 Oct 2010 22:58:20 +0000 (15:58 -0700)
committerKhem Raj <raj.khem@gmail.com>
Wed, 13 Oct 2010 22:58:20 +0000 (15:58 -0700)
* 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@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/gdb/gdb-cross-sdk.inc

index 9949e10..adc2ed3 100644 (file)
@@ -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
 }