Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc For MKREPRO, don't print varying params.
details: https://anonhg.NetBSD.org/src/rev/96bfafac6ac1
branches: trunk
changeset: 349821:96bfafac6ac1
user: christos <christos%NetBSD.org@localhost>
date: Sat Dec 24 20:36:28 2016 +0000
description:
For MKREPRO, don't print varying params.
diffstat:
etc/Makefile.params | 22 ++++++++++++----------
1 files changed, 12 insertions(+), 10 deletions(-)
diffs (54 lines):
diff -r 8d6f9bf4e9b8 -r 96bfafac6ac1 etc/Makefile.params
--- a/etc/Makefile.params Sat Dec 24 19:21:29 2016 +0000
+++ b/etc/Makefile.params Sat Dec 24 20:36:28 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.params,v 1.13 2015/07/23 08:03:25 mrg Exp $
+# $NetBSD: Makefile.params,v 1.14 2016/12/24 20:36:28 christos Exp $
#
# Makefile fragment for printing build parameters.
#
@@ -37,10 +37,8 @@
.include <bsd.own.mk> # for some variables
-RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID BUILDINFO BUILDSEED \
- DESTDIR DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \
+RELEASEVARS= DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \
HAVE_LLVM HAVE_PCC INSTALLWORLDDIR \
- KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \
MACHINE MACHINE_ARCH MAKE MAKECONF MAKEFLAGS \
MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \
MKARZERO MKATF MKBFD MKBINUTILS MKCATPAGES \
@@ -54,14 +52,18 @@
MKPROFILE MKREPRO \
MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \
MKUNPRIVED MKUPDATE MKX11 MKYP \
- NBUILDJOBS NETBSDSRCDIR \
NOCLEANDIR NODISTRIBDIRS NOINCLUDES \
- OBJMACHINE \
- RELEASEDIR RELEASEMACHINEDIR TOOLCHAIN_MISSING TOOLDIR \
+ TOOLCHAIN_MISSING \
USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \
USE_PAM USE_SKEY USE_YP \
- USETOOLS USR_OBJMACHINE \
- X11SRCDIR
+ USETOOLS
+
+.if ${MKREPRO:Uno} != "yes"
+RELEASEVARS+= BSDOBJDIR BSDSRCDIR BUILDID BUILDINFO BUILDSEED \
+ DESTDIR KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \
+ NBUILDJOBS NETBSDSRCDIR OBJMACHINE OBJMACHINE_ARCH \
+ RELEASEDIR RELEASEMACHINEDIR TOOLDIR USR_OBJMACHINE X11SRCDIR
+.endif
#
@@ -77,7 +79,7 @@
_params_redirect?= # empty
_params: .PHONY
-.for var in ${RELEASEVARS}
+.for var in ${RELEASEVARS:O}
.if defined(${var})
@printf "%20s = '%-s'\n" ${var} ${${var}:C/'/'\\\\''/gW:Q} \
${_params_redirect}
Home |
Main Index |
Thread Index |
Old Index