aboutsummaryrefslogtreecommitdiff
path: root/targets/pseudo/clang/Makefile.depend
diff options
context:
space:
mode:
Diffstat (limited to 'targets/pseudo/clang/Makefile.depend')
-rw-r--r--targets/pseudo/clang/Makefile.depend5
1 files changed, 4 insertions, 1 deletions
diff --git a/targets/pseudo/clang/Makefile.depend b/targets/pseudo/clang/Makefile.depend
index 4d7b21cf64aa..29ac41e06ef2 100644
--- a/targets/pseudo/clang/Makefile.depend
+++ b/targets/pseudo/clang/Makefile.depend
@@ -42,7 +42,6 @@ DIRDEPS+= \
.if ${MK_CLANG_EXTRAS} == "yes"
DIRDEPS+= \
usr.bin/clang/bugpoint \
- usr.bin/clang/clang-format \
usr.bin/clang/llc \
usr.bin/clang/lli \
usr.bin/clang/llvm-ar \
@@ -71,6 +70,10 @@ DIRDEPS+= \
.endif
+.if ${MK_CLANG_EXTRAS} == "yes" || ${MK_CLANG_FORMAT} == "yes"
+DIRDEPS+= usr.bin/clang/clang-format
+.endif
+
.if ${MK_LLD} == "yes"
DIRDEPS+= usr.bin/clang/lld
.endif