Skip to contentSkip to conversation

fix gdb-cross-sdk on older build systems

PATCH New Tim Harvey 1 participant 1 message Oct 8, 2010

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 fix gdb-cross-sdk on older build systems

run autoreconf to lessen dependency on host autotools version

---
 recipes/gdb/gdb-cross-sdk.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
recipes/gdb/gdb-cross-sdk.inc +3 -1
index d7bc2ab..4c58612 100644
@@ -6,7 +6,7 @@ inherit sdk
 DEPENDS = "ncurses-sdk zlib-sdk 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
@@ -16,4 +16,6 @@ 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
 }
Signature · 1 line
1.7.0.4