Skip to contentSkip to conversation

package/gdb: add dependency on host-textinfo

PATCH New Romain Naour 2 participants 2 messages Jul 5, 2016 – Jul 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/gdb/gdb.mk | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
package/gdb/gdb.mk +8 -3
index 6d70955..3941b45 100644
@@ -35,7 +35,12 @@ endif
 # For the host variant, we really want to build with XML support,
 # which is needed to read XML descriptions of target architectures. We
 # 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.
+HOST_GDB_DEPENDENCIES += host-expat host-ncurses host-texinfo
+GDB_DEPENDENCIES += host-texinfo
 
 # Apply the Xtensa specific patches
 XTENSA_CORE_NAME = $(call qstrip, $(BR2_XTENSA_CORE_NAME))
@@ -49,8 +54,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
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 package/gdb: add dependency on host-textinfo

Hello,

package/gdb/gdb.mk endif · line 38

Quoted 9 lines · Romain Naour
package/gdb/gdb.mk +0 -1
index 6d70955..3941b45 100644
@@ -35,7 +35,12 @@ endif
 # For the host variant, we really want to build with XML support,
 # which is needed to read XML descriptions of target architectures. We
 # also need ncurses.
-HOST_GDB_DEPENDENCIES = host-expat host-ncurses

I prefer to keep this as is.

package/gdb/gdb.mk endif · line 42

Quoted 5 lines
package/gdb/gdb.mk +5 -0
+# 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.
+HOST_GDB_DEPENDENCIES += host-expat host-ncurses host-texinfo

And just add host-texinfo here.

package/gdb/gdb.mk endif · line 43

Quoted 1 line
package/gdb/gdb.mk +1 -0
+GDB_DEPENDENCIES += host-texinfo

Applied with this modification. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com