mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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.
This commit is contained in:
parent
0415f45d48
commit
87d0f81ce7
2 changed files with 3 additions and 0 deletions
|
|
@ -295,6 +295,7 @@ WITH_IDEA=
|
|||
BLUETOOTH \
|
||||
BOOT \
|
||||
CALENDAR \
|
||||
CDDL \
|
||||
CPP \
|
||||
CRYPT \
|
||||
CVS \
|
||||
|
|
|
|||
2
tools/build/options/WITHOUT_CDDL
Normal file
2
tools/build/options/WITHOUT_CDDL
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
.\" $FreeBSD$
|
||||
Set to not build code licensed under Sun's CDDL.
|
||||
Loading…
Reference in a new issue