aboutsummaryrefslogtreecommitdiff
path: root/cddl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/Makefile')
-rw-r--r--cddl/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/cddl/Makefile b/cddl/Makefile
index 26b502a12082..d01199b5d9af 100644
--- a/cddl/Makefile
+++ b/cddl/Makefile
@@ -5,9 +5,7 @@
SUBDIR= lib .WAIT \
sbin usr.bin usr.sbin
-.if ${MK_TESTS} != "no"
-SUBDIR+=tests
-.endif
+SUBDIR.${MK_TESTS}+= tests
SUBDIR_PARALLEL=