aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-27 11:02:56 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-27 11:02:56 +0200
commitffd243c6527250c488a83ee22460416e167be7dd (patch)
treea19ca1226a1c7379c7e27ff54c71be8d803b7530
parent89e8b2437c42f50d6a4c55ce24984f58a14d5027 (diff)
downloadbuildroot-ffd243c6527250c488a83ee22460416e167be7dd.tar.gz
buildroot-ffd243c6527250c488a83ee22460416e167be7dd.tar.bz2
gdb: don't force makeinfo programs for GDB_FROM_GIT variants
Fixes: http://autobuild.buildroot.net/results/16d/16d4a83eb1e1b9d65641de47f2a2bc5d8ab18bdd/ http://autobuild.buildroot.net/results/df6/df64fe6e834f016267f522f089e00a08b1fd893e/ The GDB_FROM_GIT variants unconditionally use makeinfo, so ensure our host-texinfo version is used instead of the missing script. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gdb/gdb.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index c3fca40c2b..6640d2c280 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -50,11 +50,7 @@ GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
endif
-HOST_GDB_CONF_ENV = \
- ac_cv_prog_MAKEINFO=missing
-
GDB_CONF_ENV = \
- ac_cv_prog_MAKEINFO=missing \
ac_cv_type_uintptr_t=yes \
gt_cv_func_gettext_libintl=yes \
ac_cv_func_dcgettext=yes \
@@ -119,6 +115,10 @@ HOST_GDB_CONF_OPT = \
ifeq ($(GDB_FROM_GIT),y)
HOST_GDB_DEPENDENCIES += host-texinfo
+else
+# don't generate documentation
+GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
+HOST_GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
endif
# legacy $arch-linux-gdb symlink