aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-11-21 06:48:30 +0000
committerWarner Losh <imp@FreeBSD.org>2019-11-21 06:48:30 +0000
commitc81e4a699bf02dfb6be1b84f8f4ee5c7544ce84d (patch)
treea352e8f46ed90da47fc88846c2cfdbde91be70a4
parent7b692b8e0fb086b2733cebc3ff57308071ebefd0 (diff)
downloadsrc-c81e4a699bf02dfb6be1b84f8f4ee5c7544ce84d.tar.gz
src-c81e4a699bf02dfb6be1b84f8f4ee5c7544ce84d.zip
Include MACHINE in the which variable selection to use section.
Notes
Notes: svn path=/head/; revision=354937
-rw-r--r--share/man/man7/arch.76
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man7/arch.7 b/share/man/man7/arch.7
index 6971035c8285..bf660df2a420 100644
--- a/share/man/man7/arch.7
+++ b/share/man/man7/arch.7
@@ -347,13 +347,17 @@ Unless the make variable
is defined, make universe will not build mips, powerpc, nor sparc64
architectures unless the xtoolchain binaries have been installed for
the architecture.
-.Ss MACHINE_ARCH vs MACHINE_CPUARCH
+.Ss MACHINE_ARCH vs MACHINE_CPUARCH vs MACHINE
.Dv MACHINE_CPUARCH
should be preferred in Makefiles when the generic
architecture is being tested.
.Dv MACHINE_ARCH
should be preferred when there is something specific to a particular type of
architecture where there is a choice of many, or could be a choice of many.
+Use
+.Dv MACHINE
+when referring to the kernel, interfaces dependent on a specific type of kernel
+or similar things like boot sequences.
.Bl -column -offset indent "Dv MACHINE" "Dv MACHINE_CPUARCH" "Dv MACHINE_ARCH"
.It Dv MACHINE Ta Dv MACHINE_CPUARCH Ta Dv MACHINE_ARCH
.It arm64 Ta aarch64 Ta aarch64