From 75dc0fdd3895a77a7b2d8e209f8c69bad8af69aa Mon Sep 17 00:00:00 2001 From: theraven Date: Tue, 22 Jan 2013 17:49:51 +0000 Subject: 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. --- share/man/man5/src.conf.5 | 3 +++ share/mk/bsd.own.mk | 1 + 2 files changed, 4 insertions(+) (limited to 'share') diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 1d757f7..cc06acc 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -476,6 +476,9 @@ Set to not build GPIB bus support. Set to not build .Xr gpioctl 8 as part of the base system. +.It Va WITH_GPL_DTC +Set to build the GPL'd version of the device tree compiler from elinux.org, +instead of the BSD licensed one. .It Va WITHOUT_GROFF .\" from FreeBSD: head/tools/build/options/WITHOUT_GROFF 218941 2011-02-22 08:13:49Z uqs Set to not build diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index be00ce4..88d887a 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -364,6 +364,7 @@ __DEFAULT_NO_OPTIONS = \ BSD_GREP \ CLANG_EXTRAS \ CTF \ + GPL_DTC \ HESIOD \ ICONV \ IDEA \ -- cgit v1.1