aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/fstyp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/fstyp/Makefile')
-rw-r--r--usr.sbin/fstyp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/fstyp/Makefile b/usr.sbin/fstyp/Makefile
index a86cb536b620..f852ff7ccb53 100644
--- a/usr.sbin/fstyp/Makefile
+++ b/usr.sbin/fstyp/Makefile
@@ -15,8 +15,8 @@ WARNS?= 2
.include <bsd.endian.mk>
-.if ${MK_TESTS} != "no" && ${TARGET_ENDIANNESS} == 1234
-SUBDIR+= tests
+.if ${TARGET_ENDIANNESS} == 1234
+SUBDIR.${MK_TESTS}+= tests
.endif
.if ${MK_ZFS} != "no"