Sun Feb 21 04:16:36 2016 UTC ()
document CTF


(christos)
diff -r1.25 -r1.26 src/distrib/sets/mkvars.mk
diff -r1.173 -r1.174 src/distrib/sets/sets.subr

cvs diff -r1.25 -r1.26 src/distrib/sets/mkvars.mk (expand / switch to unified diff)

--- src/distrib/sets/mkvars.mk 2016/01/31 18:41:35 1.25
+++ src/distrib/sets/mkvars.mk 2016/02/21 04:16:36 1.26
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: mkvars.mk,v 1.25 2016/01/31 18:41:35 christos Exp $ 1# $NetBSD: mkvars.mk,v 1.26 2016/02/21 04:16:36 christos Exp $
2 2
3MKEXTRAVARS= \ 3MKEXTRAVARS= \
4 MACHINE \ 4 MACHINE \
5 MACHINE_ARCH \ 5 MACHINE_ARCH \
6 MACHINE_CPU \ 6 MACHINE_CPU \
7 HAVE_GCC \ 7 HAVE_GCC \
8 HAVE_GDB \ 8 HAVE_GDB \
9 HAVE_BINUTILS \ 9 HAVE_BINUTILS \
10 HAVE_LIBGCC_EH \ 10 HAVE_LIBGCC_EH \
11 HAVE_SSP \ 11 HAVE_SSP \
12 OBJECT_FMT \ 12 OBJECT_FMT \
13 TOOLCHAIN_MISSING \ 13 TOOLCHAIN_MISSING \
14 EXTSRCS \ 14 EXTSRCS \
@@ -94,20 +94,20 @@ mkextravars: .PHONY @@ -94,20 +94,20 @@ mkextravars: .PHONY
94.endfor 94.endfor
95.if ${MKCOMPAT} != "no" 95.if ${MKCOMPAT} != "no"
96 @echo COMPATARCHDIRS=${COMPATARCHDIRS} | ${TOOL_SED} -e's/ /,/g' 96 @echo COMPATARCHDIRS=${COMPATARCHDIRS} | ${TOOL_SED} -e's/ /,/g'
97.else 97.else
98 @echo COMPATARCHDIRS= 98 @echo COMPATARCHDIRS=
99.endif 99.endif
100.if ${MKKMOD} != "no" && ${MKCOMPATMODULES} != "no" 100.if ${MKKMOD} != "no" && ${MKCOMPATMODULES} != "no"
101 @echo KMODARCHDIRS=${KMODARCHDIRS} | ${TOOL_SED} -e's/ /,/g' 101 @echo KMODARCHDIRS=${KMODARCHDIRS} | ${TOOL_SED} -e's/ /,/g'
102.else 102.else
103 @echo KMODARCHDIRS= 103 @echo KMODARCHDIRS=
104.endif 104.endif
105 105
106mksolaris: .PHONY 106mksolaris: .PHONY
107.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 107.if (${MKDTRACE} != "no" || ${MKZFS} != "no" || ${MKCTF} != "no")
108 @echo MKSOLARIS="yes" 108 @echo MKSOLARIS="yes"
109.else 109.else
110 @echo MKSOLARIS="no" 110 @echo MKSOLARIS="no"
111.endif 111.endif
112 112
113.include <bsd.files.mk> 113.include <bsd.files.mk>

cvs diff -r1.173 -r1.174 src/distrib/sets/sets.subr (expand / switch to unified diff)

--- src/distrib/sets/sets.subr 2015/07/23 08:03:25 1.173
+++ src/distrib/sets/sets.subr 2016/02/21 04:16:36 1.174
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: sets.subr,v 1.173 2015/07/23 08:03:25 mrg Exp $ 1# $NetBSD: sets.subr,v 1.174 2016/02/21 04:16:36 christos Exp $
2# 2#
3 3
4# 4#
5# The following variables contain defaults for sets.subr functions and callers: 5# The following variables contain defaults for sets.subr functions and callers:
6# setsdir path to src/distrib/sets 6# setsdir path to src/distrib/sets
7# nlists list of base sets 7# nlists list of base sets
8# xlists list of x11 sets 8# xlists list of x11 sets
9# extlists list of extsrc sets 9# extlists list of extsrc sets
10# obsolete controls if obsolete files are selected instead 10# obsolete controls if obsolete files are selected instead
11# module if != "no", enable MODULE sets 11# module if != "no", enable MODULE sets
12# shlib shared library format (a.out, elf, or "") 12# shlib shared library format (a.out, elf, or "")
13# stlib static library format (a.out, elf) 13# stlib static library format (a.out, elf)
14# 14#
@@ -169,27 +169,27 @@ extlists="extbase extcomp extetc" @@ -169,27 +169,27 @@ extlists="extbase extcomp extetc"
169OSRELEASE=$(${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -k) 169OSRELEASE=$(${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -k)
170MODULEDIR="stand/${MACHINE}/${OSRELEASE}/modules" 170MODULEDIR="stand/${MACHINE}/${OSRELEASE}/modules"
171SUBST="s#@MODULEDIR@#${MODULEDIR}#g" 171SUBST="s#@MODULEDIR@#${MODULEDIR}#g"
172SUBST="${SUBST};s#@OSRELEASE@#${OSRELEASE}#g" 172SUBST="${SUBST};s#@OSRELEASE@#${OSRELEASE}#g"
173SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g" 173SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g"
174 174
175# 175#
176# list_set_files setfile [...] 176# list_set_files setfile [...]
177#  177#
178# Produce a packing list for setfile(s). 178# Produce a packing list for setfile(s).
179# In each file, a record consists of a path and a System Package name, 179# In each file, a record consists of a path and a System Package name,
180# separated by whitespace. E.g., 180# separated by whitespace. E.g.,
181# 181#
182# # $NetBSD: sets.subr,v 1.173 2015/07/23 08:03:25 mrg Exp $ 182# # $NetBSD: sets.subr,v 1.174 2016/02/21 04:16:36 christos Exp $
183# . base-sys-root [keyword[,...]] 183# . base-sys-root [keyword[,...]]
184# ./altroot base-sys-root 184# ./altroot base-sys-root
185# ./bin base-sys-root 185# ./bin base-sys-root
186# ./bin/[ base-util-root 186# ./bin/[ base-util-root
187# ./bin/cat base-util-root 187# ./bin/cat base-util-root
188# [...] 188# [...]
189# 189#
190# A # in the first column marks a comment. 190# A # in the first column marks a comment.
191# 191#
192# If ${obsolete} != 0, only entries with an "obsolete" keyword will 192# If ${obsolete} != 0, only entries with an "obsolete" keyword will
193# be printed. All other keywords must be present. 193# be printed. All other keywords must be present.
194# 194#
195# The third field is an optional comma separated list of keywords to 195# The third field is an optional comma separated list of keywords to
@@ -199,26 +199,27 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g @@ -199,26 +199,27 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g
199# obsolete file is obsolete, and only printed if  199# obsolete file is obsolete, and only printed if
200# ${obsolete} != 0 200# ${obsolete} != 0
201# 201#
202# atf ${MKATF} != no 202# atf ${MKATF} != no
203# bfd obsolete, use binutils. 203# bfd obsolete, use binutils.
204# binutils ${MKBINUTILS} != no 204# binutils ${MKBINUTILS} != no
205# bsdgrep ${MKBSDGREP} != no 205# bsdgrep ${MKBSDGREP} != no
206# catpages ${MKCATPAGES} != no 206# catpages ${MKCATPAGES} != no
207# compat ${MKCOMPAT} != no 207# compat ${MKCOMPAT} != no
208# compatmodules ${MKCOMPATMODULES} != no 208# compatmodules ${MKCOMPATMODULES} != no
209# compattests ${MKCOMPATTESTS} != no 209# compattests ${MKCOMPATTESTS} != no
210# crypto ${MKCRYPTO} != no 210# crypto ${MKCRYPTO} != no
211# crypto_rc5 ${MKCRYPTO_RC5} != no 211# crypto_rc5 ${MKCRYPTO_RC5} != no
 212# ctf ${MKCTF} != no
212# cvs ${MKCVS} != no 213# cvs ${MKCVS} != no
213# debug ${MKDEBUG} != no 214# debug ${MKDEBUG} != no
214# debuglib ${MKDEBUGLIB} != no 215# debuglib ${MKDEBUGLIB} != no
215# doc ${MKDOC} != no 216# doc ${MKDOC} != no
216# dtrace ${MKDTRACE} != no 217# dtrace ${MKDTRACE} != no
217# dynamicroot ${MKDYNAMICROOT} != no 218# dynamicroot ${MKDYNAMICROOT} != no
218# extsrc ${MKEXTSRC} != no 219# extsrc ${MKEXTSRC} != no
219# gcc ${MKGCC} != no 220# gcc ${MKGCC} != no
220# gcccmds ${MKGCCCMDS} != no 221# gcccmds ${MKGCCCMDS} != no
221# gdb ${MKGDB} != no 222# gdb ${MKGDB} != no
222# hesiod ${MKHESIOD} != no 223# hesiod ${MKHESIOD} != no
223# html ${MKHTML} != no 224# html ${MKHTML} != no
224# inet6 ${MKINET6} != no 225# inet6 ${MKINET6} != no
@@ -249,27 +250,27 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g @@ -249,27 +250,27 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g
249# pcc ${MKPCC} != no 250# pcc ${MKPCC} != no
250# pf ${MKPF} != no 251# pf ${MKPF} != no
251# pic ${MKPIC} != no 252# pic ${MKPIC} != no
252# picinstall ${MKPICINSTALL} != no 253# picinstall ${MKPICINSTALL} != no
253# pigzgzip ${MKPIGZGZIP} != no 254# pigzgzip ${MKPIGZGZIP} != no
254# postfix ${MKPOSTFIX} != no 255# postfix ${MKPOSTFIX} != no
255# profile ${MKPROFILE} != no 256# profile ${MKPROFILE} != no
256# perfuse ${MKPERFUSE} != no 257# perfuse ${MKPERFUSE} != no
257# rump ${MKRUMP} != no 258# rump ${MKRUMP} != no
258# share ${MKSHARE} != no 259# share ${MKSHARE} != no
259# skey ${MKSKEY} != no 260# skey ${MKSKEY} != no
260# sljit ${MKSLJIT} != no 261# sljit ${MKSLJIT} != no
261# softfloat ${MKSOFTFLOAT} != no 262# softfloat ${MKSOFTFLOAT} != no
262# solaris ${MKDTRACE} != no or ${MKZFS} != no 263# solaris ${MKDTRACE} != no or ${MKZFS} != no or ${MKCTF} != no
263# ssp ${HAVE_SSP} != no 264# ssp ${HAVE_SSP} != no
264# tpm ${MKTPM} != no 265# tpm ${MKTPM} != no
265# xorg ${MKX11} != no 266# xorg ${MKX11} != no
266# xorg_server ${MKXORG_SERVER} != no 267# xorg_server ${MKXORG_SERVER} != no
267# yp ${MKYP} != no 268# yp ${MKYP} != no
268# zfs ${MKZFS} != no 269# zfs ${MKZFS} != no
269# 270#
270# endian=<n> <n> = value of ${TARGET_ENDIANNESS} 271# endian=<n> <n> = value of ${TARGET_ENDIANNESS}
271# binutils=<n> <n> = value of ${HAVE_BINUTILS} 272# binutils=<n> <n> = value of ${HAVE_BINUTILS}
272# gcc=<n> <n> = value of ${HAVE_GCC} 273# gcc=<n> <n> = value of ${HAVE_GCC}
273# gdb=<n> <n> = value of ${HAVE_GDB} 274# gdb=<n> <n> = value of ${HAVE_GDB}
274# 275#
275# use_inet6 ${USE_INET6} != no 276# use_inet6 ${USE_INET6} != no