aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2013-01-22 17:49:51 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2013-01-22 17:49:51 +0000
commitaf0dd31fc469cac25e441ff350ccda958ea5c8df (patch)
treef6a3cc3c06e558ba27ceb3a9a6669e6a5901c02f /Makefile.inc1
parentf0ddc92d2741e1d2d252e0f785c8cd31421a9d9d (diff)
downloadsrc-af0dd31fc469cac25e441ff350ccda958ea5c8df.tar.gz
src-af0dd31fc469cac25e441ff350ccda958ea5c8df.zip
Import new (BSDL) device tree compiler. Now built by default, so that it can't
be used on the host system (and not installed on the device, if required). The GPL'd one is still available if there are any devices that need it (make universe passes with it, including kernels that use fdt, but there may be some out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now. Probably won't be MFC'd, but we'll remove the GPL'd version in head after the new one has had a lot more testing and ship it in 10.0.
Notes
Notes: svn path=/head/; revision=245803
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc15
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 75849358066f..c1782f140183 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1112,7 +1112,10 @@ _dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \
lib/libdwarf cddl/usr.bin/ctfconvert cddl/usr.bin/ctfmerge
.endif
-.if ${MK_FDT} != "no"
+# Default to building the BSDL DTC, but build the GPL one if users explicitly
+# request it.
+_dtc= /usr.bin/dtc
+.if ${MK_GPL_DTC} != "no"
_dtc= gnu/usr.bin/dtc
.endif