Skip to contentSkip to conversation

package/gdb: avoid build issue with gdb sources from a git repository

PATCH New Romain Naour 1 participant 1 message Jan 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gdb: avoid build issue with gdb sources from a git repository

Don't try to generate standards.info.

WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a .texi' or .texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy make' (AIX, DU, IRIX). You might want to install the Texinfo' package or the `GNU make' package. Grab either from any GNU archive site.
make[5]: *** [standards.info] Error 1
make[4]: *** [info] Error 1
make[3]: *** [all-etc] Error 2
make[3]: *** Waiting for unfinished jobs....

Fixes:
http://autobuild.buildroot.net/results/55d/55d95d7decc8ff8c451601a38ce2c2818fe23bcc

Cc Thomas Petazzoni <[email protected]>
Cc Vicente Olivert Riera <[email protected]>

---
It would be easier to force "missing" script to exit 0 instead of unsing SED all over the gdb's tree.

---
 package/gdb/gdb.mk | 3 +++
 1 file changed, 3 insertions(+)
package/gdb/gdb.mk +3 -0
index 3b0f501..6447598 100644
@@ -54,6 +54,9 @@ endif
 # Prevent gdb to build the documentation
 define GDB_DISABLE_DOC
 	$(SED) '/^SUBDIRS =/ s/doc//' $(@D)/gdb/Makefile.in
+	if test -e $(@D)/etc/Makefile.in ; then \
+		$(SED) '/^INFOFILES =/ s/standards.info configure.info//' $(@D)/etc/Makefile.in ; \
+	fi
 	if test -e $(@D)/bfd/doc/Makefile.in ; then \
 		$(SED) 's/^INFO_DEPS =.*$$/INFO_DEPS =/' $(@D)/bfd/doc/Makefile.in ; \
 	fi
Signature · 1 line
2.4.3