Shaves off a significant amount of time (eg on riscv64) in base builds.
Note that you'll need bsd.own.mk rev 1.213 (which make build should take
care of).
ok miod@ patrick@
-# $OpenBSD: Makefile,v 1.20 2022/07/11 14:43:24 robert Exp $
+# $OpenBSD: Makefile,v 1.21 2022/07/12 21:06:04 jca Exp $
.include <bsd.own.mk>
SUBDIR+=lld
+.if ${BUILD_LLDB:L} == "yes"
SUBDIR+=lldb-tblgen
SUBDIR+=include/lldb/Commands
SUBDIR+=include/lldb/Core
SUBDIR+=lldb
SUBDIR+=lldb-server
+.endif
SUBDIR+=include/llvm-objcopy
SUBDIR+=llvm-objcopy
-# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:47 patrick Exp $
+# $OpenBSD: Makefile,v 1.7 2022/07/12 21:06:04 jca Exp $
.include <bsd.own.mk>
-.if (${MACHINE} == "arm64") || (${MACHINE} == "amd64")
PROG= lldb-server
-.else
-NOPROG= lldb-server
-.endif
-
BINDIR= /usr/bin
NOMAN=
-# $OpenBSD: Makefile,v 1.11 2021/12/17 14:55:47 patrick Exp $
+# $OpenBSD: Makefile,v 1.12 2022/07/12 21:06:04 jca Exp $
.include <bsd.own.mk>
-.if (${MACHINE} == "arm64") || (${MACHINE} == "amd64")
PROG= lldb
-.else
-NOPROG= lldb
-.endif
-
BINDIR= /usr/bin
LIBEXECDIR=/usr/libexec