Skip to contentSkip to conversation

binutils: disable makeinfo

PATCH New Alexey Brodkin 2 participants 2 messages Jun 30, 2014 – Jul 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binutils: disable makeinfo

makeinfo is known to cause problems when building old texi files with more recent host makeinfo.

In particular binutils-2.18 won't build on Fedora 20 without this change.

Even though more up to date binutils does build without this change there's no guaranty it will with bump of host makeinfo in the future.

Cc Anton Kolesov <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Gustavo Zacarias <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 package/binutils/binutils.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/binutils/binutils.mk +5 -0
index 9cc4d28..77d0751 100644
@@ -49,6 +49,11 @@ BINUTILS_CONF_OPT = --disable-multilib --disable-werror \
 		--enable-install-libiberty \
 		$(BINUTILS_EXTRA_CONFIG_OPTIONS)
 
+# Don't build documentation. It takes up extra space / build time,
+# and sometimes needs specific makeinfo versions to work
+BINUTILS_CONF_ENV += ac_cv_prog_MAKEINFO=missing
+HOST_BINUTILS_CONF_ENV += ac_cv_prog_MAKEINFO=missing
+
 # Install binutils after busybox to prefer full-blown utilities
 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
 BINUTILS_DEPENDENCIES += busybox
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 binutils: disable makeinfo

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Alexey" == Alexey Brodkin <[email protected]> writes:

makeinfo is known to cause problems when building old texi files with more recent host makeinfo.

In particular binutils-2.18 won't build on Fedora 20 without this change.

Even though more up to date binutils does build without this change there's no guaranty it will with bump of host makeinfo in the future.

Committed, thanks.

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard