Tue May 24 22:28:56 2016 UTC ()
Export the variables so that they propagate via sets.subr -> make -> mkvars.mk


(christos)
diff -r1.100 -r1.101 src/distrib/sets/Makefile

cvs diff -r1.100 -r1.101 src/distrib/sets/Makefile (expand / switch to unified diff)

--- src/distrib/sets/Makefile 2015/12/19 22:29:23 1.100
+++ src/distrib/sets/Makefile 2016/05/24 22:28:56 1.101
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.100 2015/12/19 22:29:23 christos Exp $ 1# $NetBSD: Makefile,v 1.101 2016/05/24 22:28:56 christos Exp $
2 2
3# Experimental RCS METALOG versioning 3# Experimental RCS METALOG versioning
4# (Needs host's rcs(1) commands) 4# (Needs host's rcs(1) commands)
5# 5#
6# TODO: 6# TODO:
7# - In 'build.sh distribution', print diff to previous 7# - In 'build.sh distribution', print diff to previous
8#RCSMETALOG=1 8#RCSMETALOG=1
9 9
10# The `all' target must appear before bsd.own.mk is pulled in. 10# The `all' target must appear before bsd.own.mk is pulled in.
11all: 11all:
12 @echo "Please understand what you are doing, first." 12 @echo "Please understand what you are doing, first."
13 @false 13 @false
14 14
@@ -80,27 +80,27 @@ print_machine_cpu: .PHONY @@ -80,27 +80,27 @@ print_machine_cpu: .PHONY
80 @echo ${MACHINE_CPU} 80 @echo ${MACHINE_CPU}
81 81
82print_object_fmt: .PHONY 82print_object_fmt: .PHONY
83 @echo ${OBJECT_FMT} 83 @echo ${OBJECT_FMT}
84 84
85print_toolchain_missing: .PHONY 85print_toolchain_missing: .PHONY
86 @echo "${TOOLCHAIN_MISSING}" 86 @echo "${TOOLCHAIN_MISSING}"
87 87
88print_mkvars \ 88print_mkvars \
89print_set_lists_base print_set_lists_x print_set_lists_ext \ 89print_set_lists_base print_set_lists_x print_set_lists_ext \
90list_set_lists_base list_set_lists_x list_set_lists_ext \ 90list_set_lists_base list_set_lists_x list_set_lists_ext \
91list_set_files_base list_set_files_x list_set_files_ext \ 91list_set_files_base list_set_files_x list_set_files_ext \
92 : .PHONY 92 : .PHONY
93 @${SETSENV}; rundir="${.CURDIR}"; . ./sets.subr; ${.TARGET} 93 @export ${SETSENV}; rundir="${.CURDIR}"; . ./sets.subr; ${.TARGET}
94 94
95# 95#
96# METALOG MANIPULATION TARGETS 96# METALOG MANIPULATION TARGETS
97# 97#
98# METALOG is the name of a metadata log file, and is set in <bsd.own.mk> 98# METALOG is the name of a metadata log file, and is set in <bsd.own.mk>
99# if MKUNPRIVED is not "no". 99# if MKUNPRIVED is not "no".
100# 100#
101# METALOG.unpriv is a command line option passed to various scripts; 101# METALOG.unpriv is a command line option passed to various scripts;
102# it is either blank or "-M ${METALOG}.sanitised", depending on the 102# it is either blank or "-M ${METALOG}.sanitised", depending on the
103# MKUNPRIVED flag. 103# MKUNPRIVED flag.
104# 104#
105# The sanitise_METALOG target creates METALOG.sanitised from METALOG, 105# The sanitise_METALOG target creates METALOG.sanitised from METALOG,
106# without modifying METALOG itself. This is used near the end of 106# without modifying METALOG itself. This is used near the end of