summaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-02-29 17:10:54 +0000
committerEd Maste <emaste@FreeBSD.org>2020-02-29 17:10:54 +0000
commit134b378392a81b2a11b23fac073c306087a421ef (patch)
tree5386bf53c1c1b3b2563060f1ca3e12bc88f8371a /Makefile.inc1
parentb95cee35d395c05584ae951a7cd11369ab03c94e (diff)
downloadsrc-test2-134b378392a81b2a11b23fac073c306087a421ef.tar.gz
src-test2-134b378392a81b2a11b23fac073c306087a421ef.zip
retire in-tree GPL dtc devicetree compiler
Now that we no longer have GCC 4.2.1 in the tree and can assume FreeBSD is being built with a C++11 compiler available, we can use BSDL dtc unconditionally and retire the GPL dtc. GPL dtc now has FreeBSD CI support via Cirrus-CI to help ensure it continues to build/work on FreeBSD and is available in the ports tree if needed. The copy of (copyfree licensed) libfdt that we actually use is in sys/contrib/libfdt so the extra copy under contrib/dtc/libfdt can be removed along with the rest of the GPL dtc. Reviewed by: kevans, ian, imp, manu, theraven Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23192
Notes
Notes: svn path=/head/; revision=358468
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 1 insertions, 7 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 80ee71f602d2..f4cee70ee15c 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2233,12 +2233,6 @@ ${_bt}-usr.bin/clang/llvm-tblgen: ${_bt}-lib/clang/libllvmminimal
${_bt}-usr.bin/clang/lldb-tblgen: ${_bt}-lib/clang/libllvmminimal
.endif
-# Build BSDL or GPL DTC depending on GPL_DTC option.
-_dtc= usr.bin/dtc
-.if ${MK_GPL_DTC} != "no"
-_dtc= gnu/usr.bin/dtc
-.endif
-
.if ${MK_LOCALES} != "no"
_localedef= usr.bin/localedef
.endif
@@ -2360,7 +2354,7 @@ bootstrap-tools: ${_bt}-links .PHONY
${_clang_tblgen} \
${_kerberos5_bootstrap_tools} \
${_strfile} \
- ${_dtc} \
+ usr.bin/dtc \
${_cat} \
${_kbdcontrol} \
${_elftoolchain_libs} \