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