Sun Dec 25 16:44:39 2016 UTC ()
put also MAKEFILES in the MKREPRO section since they vary since they contain
paths.


(christos)
diff -r1.14 -r1.15 src/etc/Makefile.params

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

--- src/etc/Makefile.params 2016/12/24 20:36:28 1.14
+++ src/etc/Makefile.params 2016/12/25 16:44:39 1.15
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.params,v 1.14 2016/12/24 20:36:28 christos Exp $ 1# $NetBSD: Makefile.params,v 1.15 2016/12/25 16:44:39 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,49 +29,49 @@ @@ -29,49 +29,49 @@
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 MAKEFLAGS \ 42 MACHINE MACHINE_ARCH MAKE MAKECONF \
43 MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \ 43 MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \
44 MKARZERO MKATF MKBFD MKBINUTILS MKCATPAGES \ 44 MKARZERO MKATF MKBFD MKBINUTILS MKCATPAGES \
45 MKCRYPTO MKCRYPTO_RC5 MKCTF MKCVS \ 45 MKCRYPTO MKCRYPTO_RC5 MKCTF MKCVS \
46 MKDEBUG MKDEBUGLIB MKDOC MKDTRACE MKDYNAMICROOT \ 46 MKDEBUG MKDEBUGLIB MKDOC MKDTRACE MKDYNAMICROOT \
47 MKGCC MKGCCCMDS MKGDB \ 47 MKGCC MKGCCCMDS MKGDB \
48 MKHESIOD MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \ 48 MKHESIOD MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \
49 MKKERBEROS MKKYUA MKLDAP MKLINKLIB MKLINT MKLLVM \ 49 MKKERBEROS MKKYUA MKLDAP MKLINKLIB MKLINT MKLLVM \
50 MKMAN MKMANZ MKMDNS MKNLS MKNPF MKOBJ MKOBJDIRS \ 50 MKMAN MKMANZ MKMDNS MKNLS MKNPF MKOBJ MKOBJDIRS \
51 MKPAM MKPCC MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX \ 51 MKPAM MKPCC MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX \
52 MKPROFILE MKREPRO \ 52 MKPROFILE MKREPRO \
53 MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \ 53 MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \
54 MKUNPRIVED MKUPDATE MKX11 MKYP \ 54 MKUNPRIVED MKUPDATE MKX11 MKYP \
55 NOCLEANDIR NODISTRIBDIRS NOINCLUDES \ 55 NOCLEANDIR NODISTRIBDIRS NOINCLUDES \
56 TOOLCHAIN_MISSING \ 56 TOOLCHAIN_MISSING \
57 USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \ 57 USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \
58 USE_PAM USE_SKEY USE_YP \ 58 USE_PAM USE_SKEY USE_YP \
59 USETOOLS 59 USETOOLS
60 60
61.if ${MKREPRO:Uno} != "yes" 61.if ${MKREPRO:Uno} != "yes"
62RELEASEVARS+= BSDOBJDIR BSDSRCDIR BUILDID BUILDINFO BUILDSEED \ 62RELEASEVARS+= BSDOBJDIR BSDSRCDIR BUILDID BUILDINFO BUILDSEED \
63 DESTDIR KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \ 63 DESTDIR KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \
64 NBUILDJOBS NETBSDSRCDIR OBJMACHINE OBJMACHINE_ARCH \ 64 MAKEFLAGS NBUILDJOBS NETBSDSRCDIR OBJMACHINE OBJMACHINE_ARCH \
65 RELEASEDIR RELEASEMACHINEDIR TOOLDIR USR_OBJMACHINE X11SRCDIR 65 RELEASEDIR RELEASEMACHINEDIR TOOLDIR USR_OBJMACHINE X11SRCDIR
66.endif 66.endif
67 67
68 68
69# 69#
70# Duplicate the DISTRIBVER setting from src/etc/Makefile. 70# Duplicate the DISTRIBVER setting from src/etc/Makefile.
71# 71#
72.ifndef DISTRIBVER 72.ifndef DISTRIBVER
73DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh 73DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
74.endif 74.endif
75 75
76# 76#
77# _params does the printing. 77# _params does the printing.