diff options
author | Mark Johnston <markj@FreeBSD.org> | 2021-08-10 15:42:35 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2021-08-17 13:56:13 +0000 |
commit | 1ee912e80e37a702df4af6df20cc19b767da7bd9 (patch) | |
tree | b8e0f61ddab23733a99f3aec1a4f9115cb5cdbfb /share/man/man7/build.7 | |
parent | 15b57cbfde4d5b5933d9280c4b718dd1f2c9f27c (diff) |
build.7: Document LOCAL_MODULES and LOCAL_MODULES_DIR
Reviewed by: 0mp, imp
Sponsored by: The FreeBSD Foundation
(cherry picked from commit e7a13643b17c3ec7357b26324986587dab810da5)
Diffstat (limited to 'share/man/man7/build.7')
-rw-r--r-- | share/man/man7/build.7 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 index bad3da789e5a..d0806fa79dbb 100644 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 15, 2021 +.Dd August 10, 2021 .Dt BUILD 7 .Os .Sh NAME @@ -602,6 +602,19 @@ process. .Bd -literal -offset indent make PORTS_MODULES=emulators/virtualbox-ose-kmod kernel .Ed +.It Va LOCAL_MODULES +A list of external kernel modules that should be built and installed +as part of the +.Cm buildkernel +and +.Cm installkernel +process. +.It Va LOCAL_MODULES_DIR +The directory in which to search for the kernel modules specified by +.Va LOCAL_MODULES . +Each kernel module should consist of a directory containing a makefile. +Defaults to +.Pa ${LOCALBASE}/sys/modules . .It Va SRCCONF Specify a file to override the default .Pa /etc/src.conf . |