From af5cc22e5dc5d15dda5495d1e9dc6ca0481e6d63 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 26 Apr 2020 09:47:39 +0000 Subject: cross/*-binutils: allow unknown --enable-nls configure option The top-level configure script does not know this option, but it calls several sub-configures that all know it. --- cross/aarch64-none-elf-binutils/Makefile | 4 ++-- cross/arm-none-eabi-binutils/Makefile | 4 ++-- cross/avr-binutils/Makefile | 3 ++- cross/cross-binutils/Makefile | 3 ++- cross/freemint-binutils/Makefile | 7 ++++--- cross/h8300-elf-binutils/Makefile | 7 ++++--- cross/mingw-binutils/Makefile | 3 ++- cross/mingw-w64-x86_64-binutils/Makefile.common | 4 ++-- cross/nios2-binutils/Makefile | 3 ++- cross/or1k-none-elf-binutils/Makefile | 9 +++++---- cross/pdp11-aout-binutils/Makefile | 11 ++++++----- cross/powerpc-none-elf-binutils/Makefile | 9 +++++---- cross/ppc-morphos-binutils/Makefile | 3 ++- cross/xtensa-esp32-elf-binutils/Makefile | 11 ++++++----- cross/xtensa-lx106-elf-binutils/Makefile | 11 ++++++----- 15 files changed, 52 insertions(+), 40 deletions(-) (limited to 'cross') diff --git a/cross/aarch64-none-elf-binutils/Makefile b/cross/aarch64-none-elf-binutils/Makefile index d23ee6e96a6..6f2d88145af 100644 --- a/cross/aarch64-none-elf-binutils/Makefile +++ b/cross/aarch64-none-elf-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2020/03/20 17:52:42 rillig Exp $ +# $NetBSD: Makefile,v 1.5 2020/04/26 09:47:39 rillig Exp $ DISTNAME= binutils-2.31.1 PKGNAME= cross-aarch64-none-elf-${DISTNAME} @@ -14,7 +14,7 @@ LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 USE_LIBTOOL= yes USE_TOOLS+= gmake makeinfo GNU_CONFIGURE= yes -GNU_CONFIGURE_STRICT= no # has several sub-configures +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls ARMELF_PREFIX= ${PREFIX}/cross-aarch64-none-elf diff --git a/cross/arm-none-eabi-binutils/Makefile b/cross/arm-none-eabi-binutils/Makefile index faf59a41fe3..76daa7d262d 100644 --- a/cross/arm-none-eabi-binutils/Makefile +++ b/cross/arm-none-eabi-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2020/03/17 21:33:24 rillig Exp $ +# $NetBSD: Makefile,v 1.11 2020/04/26 09:47:39 rillig Exp $ DISTNAME= binutils-2.32 PKGNAME= cross-arm-none-eabi-${DISTNAME} @@ -14,7 +14,7 @@ LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 USE_LIBTOOL= yes USE_TOOLS+= gmake makeinfo GNU_CONFIGURE= yes -GNU_CONFIGURE_STRICT= no # several sub-configures don't know --enable-nls +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls ARMELF_PREFIX= ${PREFIX}/cross-arm-none-eabi diff --git a/cross/avr-binutils/Makefile b/cross/avr-binutils/Makefile index ad99dd71174..1dbe0fcec51 100644 --- a/cross/avr-binutils/Makefile +++ b/cross/avr-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2018/07/16 12:56:48 mef Exp $ +# $NetBSD: Makefile,v 1.30 2020/04/26 09:47:39 rillig Exp $ DISTNAME= binutils-2.30 PKGNAME= ${DISTNAME:S/^/avr-/} @@ -14,6 +14,7 @@ LICENSE= gnu-gpl-v3 USE_TOOLS+= gmake USE_LIBTOOL= yes GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls USE_PKGLOCALEDIR= yes USE_GNU_CONFIGURE_HOST= no diff --git a/cross/cross-binutils/Makefile b/cross/cross-binutils/Makefile index 038d2ac9059..496ca0c6116 100644 --- a/cross/cross-binutils/Makefile +++ b/cross/cross-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2020/01/18 23:30:15 rillig Exp $ +# $NetBSD: Makefile,v 1.6 2020/04/26 09:47:39 rillig Exp $ # # GNU binutils configured to hold `as many targets as the cross system is # capable of using'. Configures and builds everything except gas, which @@ -21,6 +21,7 @@ USE_TOOLS+= gm4 pod2man yacc USE_LIBTOOL= yes GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls GNU_CONFIGURE_PREFIX= ${PREFIX}/cross CONFIGURE_ARGS+= --with-windres CONFIGURE_ARGS+= --enable-64-bit-bfd diff --git a/cross/freemint-binutils/Makefile b/cross/freemint-binutils/Makefile index 5862e7e323a..75d4f28ec85 100644 --- a/cross/freemint-binutils/Makefile +++ b/cross/freemint-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2019/06/08 10:53:27 rillig Exp $ +# $NetBSD: Makefile,v 1.6 2020/04/26 09:47:40 rillig Exp $ DISTNAME= binutils-2.24 PKGNAME= cross-freemint-${DISTNAME} @@ -17,8 +17,9 @@ PATCH_DIST_STRIP= -p1 FREEMINT_PREFIX= ${PREFIX}/cross-freemint -USE_TOOLS+= gmake makeinfo -GNU_CONFIGURE= yes +USE_TOOLS+= gmake makeinfo +GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls OBJDIR= ../build CONFIGURE_DIRS= ${OBJDIR} diff --git a/cross/h8300-elf-binutils/Makefile b/cross/h8300-elf-binutils/Makefile index c952f4360ea..a3fbce01590 100644 --- a/cross/h8300-elf-binutils/Makefile +++ b/cross/h8300-elf-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2016/10/19 12:31:25 ryoon Exp $ +# $NetBSD: Makefile,v 1.6 2020/04/26 09:47:40 rillig Exp $ DISTNAME= binutils-2.27 PKGNAME= cross-h8300-elf-${DISTNAME} @@ -13,8 +13,9 @@ LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 H8300_PREFIX= ${PREFIX}/cross-h8300-elf -USE_TOOLS+= gmake makeinfo -GNU_CONFIGURE= yes +USE_TOOLS+= gmake makeinfo +GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls OBJDIR= ../build CONFIGURE_DIRS= ${OBJDIR} diff --git a/cross/mingw-binutils/Makefile b/cross/mingw-binutils/Makefile index 97a7cfa29df..7f9d880d668 100644 --- a/cross/mingw-binutils/Makefile +++ b/cross/mingw-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2020/03/20 11:57:25 nia Exp $ +# $NetBSD: Makefile,v 1.10 2020/04/26 09:47:40 rillig Exp $ DISTNAME= binutils-2.18 PKGNAME= mingw-${DISTNAME:S/-src//} @@ -12,6 +12,7 @@ HOMEPAGE= http://mingw.sourceforge.net/ COMMENT= GNU binutils for win32 cross-development GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls USE_TOOLS+= pax INFO_FILES= yes diff --git a/cross/mingw-w64-x86_64-binutils/Makefile.common b/cross/mingw-w64-x86_64-binutils/Makefile.common index 9070d5be30c..da1ac1b83e6 100644 --- a/cross/mingw-w64-x86_64-binutils/Makefile.common +++ b/cross/mingw-w64-x86_64-binutils/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2020/04/26 06:40:27 rillig Exp $ +# $NetBSD: Makefile.common,v 1.6 2020/04/26 09:47:40 rillig Exp $ # # used by cross/mingw-w64-x86_64-binutils/Makefile # used by cross/mingw-w64-i686-binutils/Makefile @@ -15,7 +15,7 @@ PATCHDIR= ${.CURDIR}/../../cross/mingw-w64-x86_64-binutils/patches DISTINFO_FILE= ${.CURDIR}/../../cross/mingw-w64-x86_64-binutils/distinfo GNU_CONFIGURE= yes -GNU_CONFIGURE_STRICT= no # has sub-configures +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls GNU_CONFIGURE_PREFIX= ${PREFIX}/cross/${MINGW_TARGET} CONFIGURE_ARGS+= --target=${MINGW_TARGET} CONFIGURE_ARGS+= --disable-nls diff --git a/cross/nios2-binutils/Makefile b/cross/nios2-binutils/Makefile index 150bd75dcf1..c1978238df4 100644 --- a/cross/nios2-binutils/Makefile +++ b/cross/nios2-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2020/01/18 23:30:16 rillig Exp $ +# $NetBSD: Makefile,v 1.17 2020/04/26 09:47:40 rillig Exp $ DISTNAME= binutils-2.24 PKGNAME= ${DISTNAME:S/^/nios2-/} @@ -17,6 +17,7 @@ USE_TOOLS+= gmake USE_LANGUAGES= c c++ USE_LIBTOOL= yes GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls USE_GNU_CONFIGURE_HOST= no INFO_FILES= # empty diff --git a/cross/or1k-none-elf-binutils/Makefile b/cross/or1k-none-elf-binutils/Makefile index 1aca911953f..fb8e34f34ae 100644 --- a/cross/or1k-none-elf-binutils/Makefile +++ b/cross/or1k-none-elf-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2019/07/15 05:59:13 maya Exp $ +# $NetBSD: Makefile,v 1.2 2020/04/26 09:47:40 rillig Exp $ DISTNAME= binutils-2.32 PKGNAME= cross-or1k-none-elf-${DISTNAME} @@ -11,9 +11,10 @@ HOMEPAGE= https://sourceware.org/binutils/ COMMENT= Cross binutils for bare metal OpenRISC 1000 ELF LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 -USE_LIBTOOL= yes -USE_TOOLS+= gmake makeinfo -GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake makeinfo +GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls ORELF_PREFIX= ${PREFIX}/cross-or1k-none-elf diff --git a/cross/pdp11-aout-binutils/Makefile b/cross/pdp11-aout-binutils/Makefile index 1da0b2c7fd4..c2336f32d61 100644 --- a/cross/pdp11-aout-binutils/Makefile +++ b/cross/pdp11-aout-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2018/07/30 19:45:00 ryoon Exp $ +# $NetBSD: Makefile,v 1.4 2020/04/26 09:47:40 rillig Exp $ DISTNAME= binutils-2.31.1 PKGNAME= cross-pdp11-aout-${DISTNAME} @@ -11,11 +11,12 @@ HOMEPAGE= # empty COMMENT= Cross binutils for PDP-11 a.out LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 -USE_LIBTOOL= yes -USE_TOOLS+= gmake makeinfo -GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake makeinfo +GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls -PDP11AOUT_PREFIX= ${PREFIX}/cross-pdp11-aout +PDP11AOUT_PREFIX= ${PREFIX}/cross-pdp11-aout OBJDIR= ../build CONFIGURE_DIRS= ${OBJDIR} diff --git a/cross/powerpc-none-elf-binutils/Makefile b/cross/powerpc-none-elf-binutils/Makefile index 5422903275f..44ba190d6e0 100644 --- a/cross/powerpc-none-elf-binutils/Makefile +++ b/cross/powerpc-none-elf-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2020/03/30 16:26:40 riastradh Exp $ +# $NetBSD: Makefile,v 1.2 2020/04/26 09:47:40 rillig Exp $ DISTNAME= binutils-2.32 PKGNAME= cross-powerpc-none-elf-${DISTNAME} @@ -11,9 +11,10 @@ HOMEPAGE= # empty COMMENT= Cross binutils for bare metal PowerPC ELF LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 -USE_LIBTOOL= yes -USE_TOOLS+= gmake makeinfo -GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake makeinfo +GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls POWERPCELF_PREFIX= ${PREFIX}/cross-powerpc-none-elf diff --git a/cross/ppc-morphos-binutils/Makefile b/cross/ppc-morphos-binutils/Makefile index 83c91ca1ef4..47c45459a13 100644 --- a/cross/ppc-morphos-binutils/Makefile +++ b/cross/ppc-morphos-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2020/04/14 20:53:21 js Exp $ +# $NetBSD: Makefile,v 1.2 2020/04/26 09:47:41 rillig Exp $ DISTNAME= sdk-source-20191111 PKGNAME= ppc-morphos-binutils-2.33.1 @@ -13,6 +13,7 @@ LICENSE= gnu-gpl-v3 WRKSRC= ${WRKDIR}/sdk-source/binutils/binutils-${PKGVERSION_NOREV} GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls USE_LANGUAGES= c c++ USE_TOOLS+= xzcat gtar patch gmake makeinfo diff --git a/cross/xtensa-esp32-elf-binutils/Makefile b/cross/xtensa-esp32-elf-binutils/Makefile index 22c39ab20d6..1d54004ed32 100644 --- a/cross/xtensa-esp32-elf-binutils/Makefile +++ b/cross/xtensa-esp32-elf-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2019/05/27 17:31:14 tnn Exp $ +# $NetBSD: Makefile,v 1.3 2020/04/26 09:47:41 rillig Exp $ DISTNAME= binutils-2.32 PKGREVISION= 1 @@ -16,10 +16,11 @@ HOMEPAGE= https://github.com/espressif/binutils-gdb COMMENT= Cross binutils for Espressif ESP32 bare metal environment LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 -INFO_FILES= yes -GNU_CONFIGURE= yes -USE_LIBTOOL= yes -USE_TOOLS+= gmake makeinfo +INFO_FILES= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls +USE_LIBTOOL= yes +USE_TOOLS+= gmake makeinfo OBJDIR= ../build CONFIGURE_DIRS= ${OBJDIR} diff --git a/cross/xtensa-lx106-elf-binutils/Makefile b/cross/xtensa-lx106-elf-binutils/Makefile index 84578ec3ee7..d4b5b24a22d 100644 --- a/cross/xtensa-lx106-elf-binutils/Makefile +++ b/cross/xtensa-lx106-elf-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2020/04/17 00:18:51 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2020/04/26 09:47:41 rillig Exp $ DISTNAME= binutils-gdb-xtensa-2.31_20190405 PKGNAME= ${DISTNAME:C/binutils-gdb-xtensa/xtensa-lx106-elf-binutils/} @@ -12,10 +12,11 @@ HOMEPAGE= https://github.com/espressif/binutils-gdb COMMENT= Cross binutils for Espressif ESP8266 bare metal environment LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 -INFO_FILES= yes -GNU_CONFIGURE= yes -USE_LIBTOOL= yes -USE_TOOLS+= gmake makeinfo perl +INFO_FILES= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls +USE_LIBTOOL= yes +USE_TOOLS+= gmake makeinfo perl OBJDIR= ../build CONFIGURE_DIRS= ${OBJDIR} -- cgit v1.2.3