Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] gdb: prevent building the documentation
@ 2015-09-08 13:22 Vicente Olivert Riera
  2015-09-08 13:39 ` Arnout Vandecappelle
  2015-09-09 10:48 ` Arnout Vandecappelle
  0 siblings, 2 replies; 8+ messages in thread
From: Vicente Olivert Riera @ 2015-09-08 13:22 UTC (permalink / raw)
  To: buildroot

gdb needs makeinfo to build the documentation. Since we do not provide a
host-makeinfo package this will fail in any system where makeinfo is
missing. However, we can workaround this problem by preventing gdb to
build the documentation.

Fixes:

  http://autobuild.buildroot.net/results/dd5/dd50ed99abb2c8495def826866b184030953f90e/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/gdb/gdb.mk |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 338de20..7a8f8c7 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -114,6 +114,12 @@ else
 GDB_CONF_OPTS += --without-zlib
 endif
 
+# Prevent gdb to build the documentation
+define GDB_DISABLE_DOC
+$(SED) '/^SUBDIRS =/ s/doc//' $(@D)/gdb/Makefile.in
+endef
+GDB_PRE_CONFIGURE_HOOKS += GDB_DISABLE_DOC
+
 # This removes some unneeded Python scripts and XML target description
 # files that are not useful for a normal usage of the debugger.
 define GDB_REMOVE_UNNEEDED_FILES
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-09 10:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 13:22 [Buildroot] [PATCH] gdb: prevent building the documentation Vicente Olivert Riera
2015-09-08 13:39 ` Arnout Vandecappelle
2015-09-08 13:49   ` Brendan Heading
2015-09-08 13:53     ` Brendan Heading
2015-09-08 13:55       ` Vicente Olivert Riera
2015-09-09 10:48 ` Arnout Vandecappelle
2015-09-09 10:51   ` Vicente Olivert Riera
2015-09-09 10:53     ` Brendan Heading

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox