aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-03-25 07:45:21 +0000
committerWarner Losh <imp@FreeBSD.org>2021-03-25 07:45:21 +0000
commitdef657b825529feffc2f0acb75541a45e97d92b4 (patch)
tree14975ae1d2dae51d6f8f37aeff40ce8720077078
parent24cd2796cf10211964be8a2cb3ea3e161adea746 (diff)
downloadsrc-def657b825529feffc2f0acb75541a45e97d92b4.tar.gz
src-def657b825529feffc2f0acb75541a45e97d92b4.zip
build.7: Document SYSDIR variable
Add a description of the SYSDIR variable.
-rw-r--r--share/man/man7/build.710
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index 72a1dc3078d1..4dbe5faf6e73 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 12, 2020
+.Dd March 25, 2020
.Dt BUILD 7
.Os
.Sh NAME
@@ -647,6 +647,14 @@ This variable can also be useful when debugging failed builds.
.Bd -literal -offset indent
make some-target SUBDIR_OVERRIDE=foo/bar
.Ed
+.It Va SYSDIR
+Specify the location of the kernel source to override the default
+.Pa /usr/src/sys .
+The kernel source is located in the
+.Pa sys
+subdirectory of the source tree checked out from the
+.Pa src.git
+repository.
.It Va TARGET
The target hardware platform.
This is analogous to the