crossgcc: Replace binutils no-bfd-doc patch with configure option

It is not more necessary to patch binutils, we can
pass an argument during build time to not build docs.
Regenerate binutils-2.37_no-makeinfo.patch.

Change-Id: If600f0bb46db5f84956940683a7adc83eaca01e5
Signed-off-by: Elias Souza <eliascontato@protonmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73115
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Elias Souza
2023-02-18 12:53:34 -03:00
committed by Felix Singer
parent 1548032c98
commit 17d9d897f0
3 changed files with 80 additions and 118 deletions

View File

@ -718,6 +718,8 @@ build_BINUTILS() {
--enable-lto \
--enable-gold \
--enable-multilib \
--disable-docs \
--disable-texinfo \
${BINUTILS_OPTIONS} \
CFLAGS="$HOSTCFLAGS" \
CXXFLAGS="$HOSTCFLAGS" || touch .failed