git: 1a7ed7fe9340 - main - kboot: Add MK_LOADER_KBOOT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Dec 2021 23:31:43 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=1a7ed7fe9340816eb54fb264002b3ad06905dbb7
commit 1a7ed7fe9340816eb54fb264002b3ad06905dbb7
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-12-30 23:06:28 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-12-30 23:06:28 +0000
kboot: Add MK_LOADER_KBOOT
Control building of KBOOT same as we do for uboot.
Sponsored by: Netflix
Reviewed by: tsoome
Differential Revision: https://reviews.freebsd.org/D33511
---
share/mk/src.opts.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 61c41068aacd..806b2a4a9768 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -131,6 +131,7 @@ __DEFAULT_YES_OPTIONS = \
LLVM_COV \
LLVM_CXXFILT \
LOADER_GELI \
+ LOADER_KBOOT \
LOADER_LUA \
LOADER_OFW \
LOADER_UBOOT \
@@ -311,6 +312,10 @@ BROKEN_OPTIONS+=EFI
.if ${__T:Mpowerpc*} == ""
BROKEN_OPTIONS+=LOADER_OFW
.endif
+# KBOOT is only for powerpc64 (powerpc64le broken)
+.if ${__T} != "powerpc64"
+BROKEN_OPTIONS+=LOADER_KBOOT
+.endif
# UBOOT is only for arm, and big-endian powerpc
.if (${__T:Marm*} == "" && ${__T:Mpowerpc*} == "") || ${__T} == "powerpc64le"
BROKEN_OPTIONS+=LOADER_UBOOT