git: 91dc225a7bd8 - main - conf: Document why we have ARM64 and RISCV options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Oct 2022 16:49:09 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=91dc225a7bd81350faaceba89226e761045b5bbb
commit 91dc225a7bd81350faaceba89226e761045b5bbb
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-10-20 15:29:33 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-10-20 16:48:31 +0000
conf: Document why we have ARM64 and RISCV options
These are needed for the 'cpu ARM64' and 'cpu RISCV' options in these
architecture's config files. cpu lines are non-optional in config(8), so
we must define them here. There's no other use for them in the tree.
Sponsored by: Netflix
---
sys/conf/options.arm64 | 2 +-
sys/conf/options.riscv | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/conf/options.arm64 b/sys/conf/options.arm64
index ff2db5caf082..5e14225cc053 100644
--- a/sys/conf/options.arm64
+++ b/sys/conf/options.arm64
@@ -1,6 +1,6 @@
# $FreeBSD$
-ARM64 opt_global.h
+ARM64 opt_global.h # for cpu ARM64 to work
INTRNG opt_global.h
SOCDEV_PA opt_global.h
THUNDERX_PASS_1_1_ERRATA opt_global.h
diff --git a/sys/conf/options.riscv b/sys/conf/options.riscv
index b2ab5ec09589..9e48f73fba33 100644
--- a/sys/conf/options.riscv
+++ b/sys/conf/options.riscv
@@ -1,5 +1,5 @@
# $FreeBSD$
-RISCV opt_global.h
+RISCV opt_global.h # For cpu RISCV to work
FPE opt_global.h
INTRNG opt_global.h