Module Name:    src
Committed By:   christos
Date:           Sat Dec 24 20:36:28 UTC 2016

Modified Files:
        src/etc: Makefile.params

Log Message:
For MKREPRO, don't print varying params.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/etc/Makefile.params

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/Makefile.params
diff -u src/etc/Makefile.params:1.13 src/etc/Makefile.params:1.14
--- src/etc/Makefile.params:1.13	Thu Jul 23 04:03:25 2015
+++ src/etc/Makefile.params	Sat Dec 24 15:36:28 2016
@@ -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 @@ RELEASEVARS=	BSDOBJDIR BSDSRCDIR BUILDID
 		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 @@ DISTRIBVER!=	${HOST_SH} ${NETBSDSRCDIR}/
 _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}

Reply via email to