git: def657b82552 - main - build.7: Document SYSDIR variable

Warner Losh imp at FreeBSD.org
Thu Mar 25 07:46:22 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=def657b825529feffc2f0acb75541a45e97d92b4

commit def657b825529feffc2f0acb75541a45e97d92b4
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-03-25 07:45:21 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-03-25 07:45:21 +0000

    build.7: Document SYSDIR variable
    
    Add a description of the SYSDIR variable.
---
 share/man/man7/build.7 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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


More information about the dev-commits-src-main mailing list