Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 07:45:44 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95056 for review
Message-ID:  <200604120745.k3C7jipR028204@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95056

Change 95056 by jb@jb_freebsd2 on 2006/04/12 07:45:36

	Add sgsmsg as a bootstrap-tool iff !NO_CDDL and !NO_DTRACE.
	
	NO_CDDL is intended to allow buildworld without and CDDL code.
	
	NO_DTRACE is intended to stop buildworld from building files with
	CTF (C Type Format) data which is half way between a stripped
	binary and one with debug symbols. The CTF data is needed by DTrace.

Affected files ...

.. //depot/projects/dtrace/src/Makefile.inc1#3 edit

Differences ...

==== //depot/projects/dtrace/src/Makefile.inc1#3 (text+ko) ====

@@ -825,8 +825,13 @@
 _pwd_mkdb=	usr.sbin/pwd_mkdb
 .endif
 
+.if !defined(NO_CDDL) && !defined(NO_DTRACE)
+_sgsmsg=	cddl/usr.bin/sgsmsg
+.endif
+
 bootstrap-tools:
 .for _tool in \
+    ${_sgsmsg} \
     ${_strfile} \
     ${_gperf} \
     ${_groff} \
@@ -870,6 +875,10 @@
 _rescue= rescue/rescue
 .endif
 
+.if !defined(NO_CDDL) && !defined(NO_DTRACE)
+_dtrace_tools= cddl/usr.bin
+.endif
+
 build-tools:
 .for _tool in \
     bin/csh \
@@ -888,6 +897,7 @@
 .endfor
 .for _tool in \
     gnu/usr.bin/cc/cc_tools \
+    ${_dtrace_tools} \
     ${_kerberos5_tools}
 	${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all)"; \
 		cd ${.CURDIR}/${_tool}; \
@@ -1011,6 +1021,10 @@
 _prebuild_libs+=	lib/libypclnt
 .endif
 
+.if !defined(NO_CDDL) && !defined(NO_DTRACE)
+_prebuild_libs+=	cddl/lib
+.endif
+
 _generic_libs+=	usr.bin/lex/lib
 
 .if ${MACHINE} == "i386"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604120745.k3C7jipR028204>