1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

build.7: Document LOCAL_MODULES and LOCAL_MODULES_DIR

Reviewed by:	0mp, imp
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit e7a13643b1)
This commit is contained in:
Mark Johnston 2021-08-10 11:42:35 -04:00
parent 15b57cbfde
commit 1ee912e80e

View File

@ -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 .