From def657b825529feffc2f0acb75541a45e97d92b4 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 25 Mar 2021 01:45:21 -0600 Subject: [PATCH] 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