binutils: disable makeinfo
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Mon, 30 Jun 2014 17:02:37 +0000 (21:02 +0400)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Jul 2014 13:16:31 +0000 (15:16 +0200)
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.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/binutils/binutils.mk

index 9cc4d288402ca867ea1fee74a7bbe455b0eae97f..77d075176f6815ef63cc6cdb8bd9d4e50df8e3ea 100644 (file)
@@ -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