From 0c7db694ac1292167ffc23f372dd1af1918e312b Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Mon, 30 Jun 2014 21:02:37 +0400 Subject: [PATCH] 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. Signed-off-by: Alexey Brodkin Cc: Anton Kolesov Cc: Peter Korsgaard Cc: Gustavo Zacarias Cc: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/binutils/binutils.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 9cc4d28840..77d075176f 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -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