summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-07-05 18:02:29 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-06 20:15:14 +0200
commitd4384278a2031b05f19ed3d11ebabe5c64dd3d2b (patch)
treed3df26f3a55f894c44bbdc7e4372a2bd9f2233eb
parentded16b82872547218dc5b83e9811c778adb0a029 (diff)
downloadbuildroot-d4384278a2031b05f19ed3d11ebabe5c64dd3d2b.tar.gz
buildroot-d4384278a2031b05f19ed3d11ebabe5c64dd3d2b.zip
package/gdb: add dependency on host-textinfo
Starting with gdb 7.10, gdb wants to re-generate its documentation. We were trying to avoid that by patching the Makefiles, but it wasn't working in all situations. So, we simply add a dependency on host-texinfo in all case. Fixes: http://autobuild.buildroot.net/results/f72/f72eac3e2f995e93f0e8f215e68ce4356a696dcb Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gdb/gdb.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 6d70955de0..1e23e5a36c 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -37,6 +37,13 @@ endif
# also need ncurses.
HOST_GDB_DEPENDENCIES = host-expat host-ncurses
+# Starting with gdb 7.10, gdb wants to re-generate its documentation.
+# We were trying to avoid that by patching the Makefiles, but it wasn't
+# working in all situations. So, we simply add a dependency on
+# host-texinfo in all case.
+GDB_DEPENDENCIES += host-texinfo
+HOST_GDB_DEPENDENCIES += host-texinfo
+
# Apply the Xtensa specific patches
XTENSA_CORE_NAME = $(call qstrip, $(BR2_XTENSA_CORE_NAME))
ifneq ($(XTENSA_CORE_NAME),)
@@ -49,8 +56,8 @@ HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
endif
ifeq ($(GDB_FROM_GIT),y)
-GDB_DEPENDENCIES += host-texinfo host-flex host-bison
-HOST_GDB_DEPENDENCIES += host-texinfo host-flex host-bison
+GDB_DEPENDENCIES += host-flex host-bison
+HOST_GDB_DEPENDENCIES += host-flex host-bison
endif
# When gdb sources are fetched from the binutils-gdb repository, they
OpenPOWER on IntegriCloud