Instead of hard-coding all the MK* vars and constantly being out of date,

use _MKVARS.yes and _MKVARS.no to construct them.
This commit is contained in:
christos 2017-01-08 17:39:08 +00:00
parent a9c6ebd868
commit b575a4238e

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.params,v 1.15 2016/12/25 16:44:39 christos Exp $
# $NetBSD: Makefile.params,v 1.16 2017/01/08 17:39:08 christos Exp $
#
# Makefile fragment for printing build parameters.
#
@ -41,17 +41,6 @@ RELEASEVARS= DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \
HAVE_LLVM HAVE_PCC INSTALLWORLDDIR \
MACHINE MACHINE_ARCH MAKE MAKECONF \
MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \
MKARZERO MKATF MKBFD MKBINUTILS MKCATPAGES \
MKCRYPTO MKCRYPTO_RC5 MKCTF MKCVS \
MKDEBUG MKDEBUGLIB MKDOC MKDTRACE MKDYNAMICROOT \
MKGCC MKGCCCMDS MKGDB \
MKHESIOD MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \
MKKERBEROS MKKYUA MKLDAP MKLINKLIB MKLINT MKLLVM \
MKMAN MKMANZ MKMDNS MKNLS MKNPF MKOBJ MKOBJDIRS \
MKPAM MKPCC MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX \
MKPROFILE MKREPRO \
MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \
MKUNPRIVED MKUPDATE MKX11 MKYP \
NOCLEANDIR NODISTRIBDIRS NOINCLUDES \
TOOLCHAIN_MISSING \
USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \
@ -65,6 +54,7 @@ RELEASEVARS+= BSDOBJDIR BSDSRCDIR BUILDID BUILDINFO BUILDSEED \
RELEASEDIR RELEASEMACHINEDIR TOOLDIR USR_OBJMACHINE X11SRCDIR
.endif
RELEASEVARS+= ${_MKVARS.yes} ${_MKVARS.no}
#
# Duplicate the DISTRIBVER setting from src/etc/Makefile.