* 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>
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
for SIM in ${B}/sim/*/Makefile; do
[ -f $SIM ] && sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i $SIM
done
+ oe_runconf
}