aboutsummaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
Diffstat (limited to 'targets')
-rw-r--r--targets/pseudo/clang/Makefile.depend8
1 files changed, 5 insertions, 3 deletions
diff --git a/targets/pseudo/clang/Makefile.depend b/targets/pseudo/clang/Makefile.depend
index daf81899f437..f84f92d9c35a 100644
--- a/targets/pseudo/clang/Makefile.depend
+++ b/targets/pseudo/clang/Makefile.depend
@@ -2,12 +2,10 @@
# This file is not autogenerated - take care!
-.if !defined(MK_LLDB)
.include <src.opts.mk>
-.endif
DIRDEPS = \
- lib/clang/include \
+ lib/clang/headers \
share/doc/llvm/clang \
usr.bin/clang/clang \
usr.bin/clang/clang-tblgen \
@@ -46,4 +44,8 @@ DIRDEPS+= \
.endif
+.if ${MK_LLD} == "yes"
+DIRDEPS+= usr.bin/clang/lld
+.endif
+
.include <dirdeps.mk>