Shaves off a significant amount of time (eg on riscv64) in base builds.
If you want to build gnu/usr.bin/clang from source you'll need
bsd.own.mk rev 1.213 installed.
ok miod@ patrick@
-# $OpenBSD: Makefile,v 1.23 2022/07/13 10:20:18 jca Exp $
+# $OpenBSD: Makefile,v 1.24 2022/07/26 15:34:33 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.8 2022/07/13 10:20:18 jca Exp $
+# $OpenBSD: Makefile,v 1.9 2022/07/26 15:34:33 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.13 2022/07/13 10:20:18 jca Exp $
+# $OpenBSD: Makefile,v 1.14 2022/07/26 15:34:33 jca Exp $
.include <bsd.own.mk>
-.if (${MACHINE} == "arm64") || (${MACHINE} == "amd64")
PROG= lldb
-.else
-NOPROG= lldb
-.endif
-
BINDIR= /usr/bin
LIBEXECDIR=/usr/libexec