summaryrefslogtreecommitdiffstats
path: root/usr.bin/Makefile
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-01-29 05:00:04 +0000
committerimp <imp@FreeBSD.org>2014-01-29 05:00:04 +0000
commit9d639789f0f2f4674505cda554cf1dae12cf872d (patch)
tree79dba0d555277c32f1487a8e5784ed3925ead892 /usr.bin/Makefile
parenta3a9918395fb09ffac4031d81316f4e39462289e (diff)
downloadFreeBSD-src-9d639789f0f2f4674505cda554cf1dae12cf872d.zip
FreeBSD-src-9d639789f0f2f4674505cda554cf1dae12cf872d.tar.gz
Don't build BSDL dtc if the GPL dtc is enabled.
Diffstat (limited to 'usr.bin/Makefile')
-rw-r--r--usr.bin/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 0a6145b..007c9ab 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -37,7 +37,6 @@ SUBDIR= alias \
ctlstat \
cut \
dirname \
- dtc \
du \
ee \
elf2aout \
@@ -231,6 +230,10 @@ SUBDIR+= calendar
_clang= clang
.endif
+.if ${MK_GPL_DTC} != "yes"
+SUBDIR+= dtc
+.endif
+
.if ${MK_GROFF} != "no"
SUBDIR+= vgrind
.endif
OpenPOWER on IntegriCloud