diff options
author | Ed Maste <emaste@FreeBSD.org> | 2020-02-29 17:10:54 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2020-02-29 17:10:54 +0000 |
commit | 134b378392a81b2a11b23fac073c306087a421ef (patch) | |
tree | 5386bf53c1c1b3b2563060f1ca3e12bc88f8371a /targets | |
parent | b95cee35d395c05584ae951a7cd11369ab03c94e (diff) | |
download | src-134b378392a81b2a11b23fac073c306087a421ef.tar.gz src-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 'targets')
-rw-r--r-- | targets/pseudo/userland/Makefile.depend | 5 | ||||
-rw-r--r-- | targets/pseudo/userland/gnu/Makefile.depend | 6 |
2 files changed, 1 insertions, 10 deletions
diff --git a/targets/pseudo/userland/Makefile.depend b/targets/pseudo/userland/Makefile.depend index 6efd31c53015..ead4d94823bd 100644 --- a/targets/pseudo/userland/Makefile.depend +++ b/targets/pseudo/userland/Makefile.depend @@ -188,6 +188,7 @@ DIRDEPS+= \ usr.bin/dirname \ usr.bin/dpv \ usr.bin/drill \ + usr.bin/dtc \ usr.bin/du \ usr.bin/ee \ usr.bin/elf2aout \ @@ -855,10 +856,6 @@ DIRDEPS+= usr.sbin/cxgbetool DIRDEPS+= usr.sbin/mlx5tool .endif -.if ${MK_GPL_DTC} != "yes" -DIRDEPS+= usr.bin/dtc -.endif - DIRDEPS+= ${DIRDEPS.${MACHINE}:U} diff --git a/targets/pseudo/userland/gnu/Makefile.depend b/targets/pseudo/userland/gnu/Makefile.depend index db1410c8b737..d0007cbc8efd 100644 --- a/targets/pseudo/userland/gnu/Makefile.depend +++ b/targets/pseudo/userland/gnu/Makefile.depend @@ -1,8 +1,6 @@ # $FreeBSD$ -.if !defined(MK_GPL_DTC) .include "${SRCTOP}/share/mk/src.opts.mk" -.endif # This file is not autogenerated - take care! @@ -33,8 +31,4 @@ DIRDEPS = \ gnu/usr.bin/grep \ gnu/usr.bin/grep/doc \ -.if ${MK_GPL_DTC} != "no" -DIRDEPS+= gnu/usr.bin/dtc -.endif - .include <dirdeps.mk> |