[oe] [PATCH] fix gdb-cross-sdk on older build systems
Tim Harvey
harvey.tim at gmail.com
Fri Oct 8 17:51:33 UTC 2010
run autoreconf to lessen dependency on host autotools version
Signed-off-by: Tim Harvey <harvey.tim at gmail.com>
---
recipes/gdb/gdb-cross-sdk.inc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc
index d7bc2ab..4c58612 100644
--- a/recipes/gdb/gdb-cross-sdk.inc
+++ b/recipes/gdb/gdb-cross-sdk.inc
@@ -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
}
--
1.7.0.4
More information about the Openembedded-devel
mailing list