aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gdb')
-rw-r--r--recipes/gdb/gdb-canadian-cross.inc5
-rw-r--r--recipes/gdb/gdb-cross.inc5
-rw-r--r--recipes/gdb/gdb.inc6
-rw-r--r--recipes/gdb/gdbserver.inc4
4 files changed, 5 insertions, 15 deletions
diff --git a/recipes/gdb/gdb-canadian-cross.inc b/recipes/gdb/gdb-canadian-cross.inc
index f472b538b0..ffa77da878 100644
--- a/recipes/gdb/gdb-canadian-cross.inc
+++ b/recipes/gdb/gdb-canadian-cross.inc
@@ -7,12 +7,9 @@ EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' L
do_configure () {
# override this function to avoid the autoconf/automake/aclocal/autoheader
# calls for now
- (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
-
# Fix for issues when system's texinfo version >= 4.10
# (See https://bugzilla.redhat.com/show_bug.cgi?id=345621)
sed -i -e "s@egrep 'texinfo.*'@egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])'@" '${S}/configure'
-
- oe_runconf
+ autotools_base_do_configure
}
diff --git a/recipes/gdb/gdb-cross.inc b/recipes/gdb/gdb-cross.inc
index 953573b646..5a9490a515 100644
--- a/recipes/gdb/gdb-cross.inc
+++ b/recipes/gdb/gdb-cross.inc
@@ -11,14 +11,11 @@ EXTRA_OECONF = "--with-curses --with-readline"
do_configure () {
# override this function to avoid the autoconf/automake/aclocal/autoheader
# calls for now
- (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
-
# Fix for issues when system's texinfo version >= 4.10
# (See https://bugzilla.redhat.com/show_bug.cgi?id=345621)
sed -i -e "s@egrep 'texinfo.*'@egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])'@" '${S}/configure'
-
- oe_runconf
+ autotools_base_do_configure
}
inherit cross
diff --git a/recipes/gdb/gdb.inc b/recipes/gdb/gdb.inc
index f75b3b2e67..3cfea9d552 100644
--- a/recipes/gdb/gdb.inc
+++ b/recipes/gdb/gdb.inc
@@ -30,15 +30,11 @@ LDFLAGS_append = " -s"
export CFLAGS_append=" -L${STAGING_LIBDIR}"
do_configure () {
- # override this function to avoid the autoconf/automake/aclocal/autoheader
- # calls for now
- (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
-
# Remove duplicate spaces to work around configure complaining about
# changed LDFLAGS.
LDFLAGS=$(echo "${LDFLAGS}" | sed "s/ / /")
- CPPFLAGS="" oe_runconf
+ CPPFLAGS="" autotools_base_do_configure
}
do_install () {
diff --git a/recipes/gdb/gdbserver.inc b/recipes/gdb/gdbserver.inc
index a976000418..a6493cc6f5 100644
--- a/recipes/gdb/gdbserver.inc
+++ b/recipes/gdb/gdbserver.inc
@@ -31,8 +31,8 @@ export CFLAGS_append=" -L${STAGING_LIBDIR}"
do_configure () {
# override this function to avoid the autoconf/automake/aclocal/autoheader
# calls for now
- (cd ${S}/gdb/gdbserver && gnu-configize) || die "failure in running gnu-configize"
- CPPFLAGS="" oe_rungdbserverconf
+ gnu_configize
+ CPPFLAGS="" oe_rungdbserverconf
}
do_install () {