summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2006-11-01 09:02:11 +0000
committerjb <jb@FreeBSD.org>2006-11-01 09:02:11 +0000
commit8f5ff1bf047e9ee8479d9e4071ddea407b21f1e1 (patch)
tree8406a3c2ae26a60d35baaf817ca4bc29c0a32305 /tools
parent53574c6ce074fe670bb46df24c3c88a6134c55e5 (diff)
downloadFreeBSD-src-8f5ff1bf047e9ee8479d9e4071ddea407b21f1e1.zip
FreeBSD-src-8f5ff1bf047e9ee8479d9e4071ddea407b21f1e1.tar.gz
Add a build option to support WITH_CDDL and WITHOUT_CDDL, defaulting
to WITH_CDDL. This option enables building code that is licensed under Sun's CDDL. The DTrace code is licensed that way, so by default it will get built unless the WITHOUT_CDDL option is used. There is another build toggle, NO_CTF, which turns off execution of ctfconvert and ctfmerge in sys.mk, but this can't be implemented as WITH_/WITHOUT because bsd.own.mk isn't included in all Makefiles and sys.mk is included automatically by make.
Diffstat (limited to 'tools')
-rw-r--r--tools/build/options/WITHOUT_CDDL2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build/options/WITHOUT_CDDL b/tools/build/options/WITHOUT_CDDL
new file mode 100644
index 0000000..909c52b
--- /dev/null
+++ b/tools/build/options/WITHOUT_CDDL
@@ -0,0 +1,2 @@
+.\" $FreeBSD$
+Set to not build code licensed under Sun's CDDL.
OpenPOWER on IntegriCloud