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.
This commit is contained in:
rillig 2020-04-26 09:47:39 +00:00
parent 9dd6f5a720
commit e99cead22a
15 changed files with 52 additions and 40 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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}

View file

@ -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}

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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}

View file

@ -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

View file

@ -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

View file

@ -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}

View file

@ -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}