[Buildroot] [PATCH v2 2/2] package/gdb (7.10): remove documentation

Romain Naour romain.naour at openwide.fr
Sun Sep 6 09:20:17 UTC 2015


If makeinfo is not found in the system then the missing
script is used to warn the user.

Before commit e30465112ed4c6320dd19107302057a5f7712cf2 the missing
script returned 0 after printing the message.

Now, missing return 127 (command not found) to the Makefile and
the build fail.

As suggested [1], disable the documentation by removing "doc"
directory from SUBDIRS.

[1] http://lists.busybox.net/pipermail/buildroot/2015-September/138824.html

Fixes:
http://autobuild.buildroot.net/results/dee/dee1326baf26ad1eb6e12a7d033428eca50d00bc/build-end.log

Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
 .../gdb/7.10/0001-gdb-disable-documentation.patch  | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 package/gdb/7.10/0001-gdb-disable-documentation.patch

diff --git a/package/gdb/7.10/0001-gdb-disable-documentation.patch b/package/gdb/7.10/0001-gdb-disable-documentation.patch
new file mode 100644
index 0000000..04543e2
--- /dev/null
+++ b/package/gdb/7.10/0001-gdb-disable-documentation.patch
@@ -0,0 +1,43 @@
+From 6676140c4b5b28f7364c39a935cb8793f7d7991d Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour at openwide.fr>
+Date: Sun, 6 Sep 2015 10:54:28 +0200
+Subject: [PATCH] gdb: disable documentation
+
+If makeinfo is not found in the system then the missing
+script is used to warn the user.
+
+Before commit e30465112ed4c6320dd19107302057a5f7712cf2 the missing
+script returned 0 after printing the message.
+
+Now, missing return 127 (command not found) to the Makefile and
+the build fail.
+
+As suggested [1], disable the documentation by removing "doc"
+directory from SUBDIRS.
+
+[1] http://lists.busybox.net/pipermail/buildroot/2015-September/138824.html
+
+Fixes:
+http://autobuild.buildroot.net/results/dee/dee1326baf26ad1eb6e12a7d033428eca50d00bc/build-end.log
+
+Signed-off-by: Romain Naour <romain.naour at openwide.fr>
+---
+ gdb/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gdb/Makefile.in b/gdb/Makefile.in
+index dfaa8a3..ab162b6 100644
+--- a/gdb/Makefile.in
++++ b/gdb/Makefile.in
+@@ -1088,7 +1088,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
+ 
+ TSOBS = inflow.o
+ 
+-SUBDIRS = doc @subdirs@ data-directory $(GNULIB_BUILDDIR)
++SUBDIRS = @subdirs@ data-directory $(GNULIB_BUILDDIR)
+ CLEANDIRS = $(SUBDIRS)
+ 
+ # List of subdirectories in the build tree that must exist.
+-- 
+2.4.3
+
-- 
2.4.3



More information about the buildroot mailing list