summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-05 17:20:59 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-06 21:48:51 (GMT)
commitd1ab8c5827545882c048331613ad108a3366bc0d (patch)
treee237c895d083786788526c862115e73a945ecf68
parentd102e83d440d401418fff304e8b5dd55ff63873d (diff)
downloadbuildroot-d1ab8c5827545882c048331613ad108a3366bc0d.tar.gz
buildroot-d1ab8c5827545882c048331613ad108a3366bc0d.tar.bz2
gdb: add host-texinfo dependency for Git versions
Just like for binutils, gdb versions pulled from Git want to regenerate their documentation, and none of the MAKEINFO tricks we've tried worked properly, so we're simply adding host-texinfo as a dependency. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gdb/gdb.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index fbe1641..d06b61b 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -24,11 +24,13 @@ endif
ifeq ($(BR2_arc),y)
GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gdb,$(GDB_VERSION))
GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
+GDB_FROM_GIT = y
endif
ifeq ($(BR2_microblaze),y)
GDB_SITE = $(call github,Xilinx,gdb,$(GDB_VERSION))
GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
+GDB_FROM_GIT = y
endif
ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
@@ -126,6 +128,10 @@ HOST_GDB_CONF_OPT = \
--without-included-gettext \
--disable-sim
+ifeq ($(GDB_FROM_GIT),y)
+HOST_GDB_DEPENDENCIES += host-texinfo
+endif
+
# legacy $arch-linux-gdb symlink
define HOST_GDB_ADD_SYMLINK
cd $(HOST_DIR)/usr/bin && \