From 8e6ee5a9a198ec65e511c002496d64b409c0ae6a Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 29 Jan 2014 05:00:04 +0000 Subject: [PATCH] Don't build BSDL dtc if the GPL dtc is enabled. --- usr.bin/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 0a6145bc6d49..007c9ab716d7 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