Tue Jan 24 17:54:52 2017 UTC ()
MAKE varies between builds because it contains the full pathname.


(christos)
diff -r1.16 -r1.17 src/etc/Makefile.params

cvs diff -r1.16 -r1.17 src/etc/Makefile.params (expand / switch to unified diff)

--- src/etc/Makefile.params 2017/01/08 17:39:08 1.16
+++ src/etc/Makefile.params 2017/01/24 17:54:52 1.17
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.params,v 1.16 2017/01/08 17:39:08 christos Exp $ 1# $NetBSD: Makefile.params,v 1.17 2017/01/24 17:54:52 christos Exp $
2# 2#
3# Makefile fragment for printing build parameters. 3# Makefile fragment for printing build parameters.
4# 4#
5# Public variables: 5# Public variables:
6# RELEASEVARS 6# RELEASEVARS
7# List of variables whose value should be printed. 7# List of variables whose value should be printed.
8# 8#
9# PRINT_PARAMS 9# PRINT_PARAMS
10# A command to print the desired variables and values 10# A command to print the desired variables and values
11# to stdout, without any additional debugging information. 11# to stdout, without any additional debugging information.
12# Values are printed as single-quoted strings, with 12# Values are printed as single-quoted strings, with
13# embedded quotes and newlines escaped in a way that's 13# embedded quotes and newlines escaped in a way that's
14# acceptable to sh(1). Undefined values are printed 14# acceptable to sh(1). Undefined values are printed
@@ -29,37 +29,37 @@ @@ -29,37 +29,37 @@
29# as '>&3', controlling where the output from "make _params" will 29# as '>&3', controlling where the output from "make _params" will
30# be sent. 30# be sent.
31# 31#
32# Example: 32# Example:
33# . ${NETBSDSRCDIR}/etc/Makefile.params 33# . ${NETBSDSRCDIR}/etc/Makefile.params
34# show-params: .MAKE .PHONY # print params to stdout 34# show-params: .MAKE .PHONY # print params to stdout
35# @${PRINT_PARAMS} 35# @${PRINT_PARAMS}
36# 36#
37 37
38.include <bsd.own.mk> # for some variables 38.include <bsd.own.mk> # for some variables
39 39
40RELEASEVARS= DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \ 40RELEASEVARS= DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \
41 HAVE_LLVM HAVE_PCC INSTALLWORLDDIR \ 41 HAVE_LLVM HAVE_PCC INSTALLWORLDDIR \
42 MACHINE MACHINE_ARCH MAKE MAKECONF \ 42 MACHINE MACHINE_ARCH MAKECONF \
43 MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \ 43 MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \
44 NOCLEANDIR NODISTRIBDIRS NOINCLUDES \ 44 NOCLEANDIR NODISTRIBDIRS NOINCLUDES \
45 TOOLCHAIN_MISSING \ 45 TOOLCHAIN_MISSING \
46 USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \ 46 USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \
47 USE_PAM USE_SKEY USE_YP \ 47 USE_PAM USE_SKEY USE_YP \
48 USETOOLS 48 USETOOLS
49 49
50.if ${MKREPRO:Uno} != "yes" 50.if ${MKREPRO:Uno} != "yes"
51RELEASEVARS+= BSDOBJDIR BSDSRCDIR BUILDID BUILDINFO BUILDSEED \ 51RELEASEVARS+= BSDOBJDIR BSDSRCDIR BUILDID BUILDINFO BUILDSEED \
52 DESTDIR KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \ 52 DESTDIR KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR MAKE \
53 MAKEFLAGS NBUILDJOBS NETBSDSRCDIR OBJMACHINE OBJMACHINE_ARCH \ 53 MAKEFLAGS NBUILDJOBS NETBSDSRCDIR OBJMACHINE OBJMACHINE_ARCH \
54 RELEASEDIR RELEASEMACHINEDIR TOOLDIR USR_OBJMACHINE X11SRCDIR 54 RELEASEDIR RELEASEMACHINEDIR TOOLDIR USR_OBJMACHINE X11SRCDIR
55.endif 55.endif
56 56
57RELEASEVARS+= ${_MKVARS.yes} ${_MKVARS.no} 57RELEASEVARS+= ${_MKVARS.yes} ${_MKVARS.no}
58 58
59# 59#
60# Duplicate the DISTRIBVER setting from src/etc/Makefile. 60# Duplicate the DISTRIBVER setting from src/etc/Makefile.
61# 61#
62.ifndef DISTRIBVER 62.ifndef DISTRIBVER
63DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh 63DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
64.endif 64.endif
65 65