From c22c7f86ffd3d096eff7ad43d65459fe1042b2c8 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 23 Jan 2009 18:32:31 +0000 Subject: [PATCH] Document KERNCONF and KERNFAST. Note that TARGET is usually all one needs to set for cross building. --- share/man/man7/build.7 | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 index 5744ad82023..2d7c4f199e4 100644 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 5, 2009 +.Dd January 23, 2009 .Dt BUILD 7 .Os .Sh NAME @@ -370,6 +370,27 @@ defaults to the current machine architecture, unless .Va TARGET is also set, in which case it defaults to the appropriate value for that platform. +Typically, one only needs to set +.Va TARGET . +.It Va KERNCONF +Overrides which kernel to build and install for the various kernel +make targets. +It defaults to +.Cm GENERIC . +.It Va KERNFAST +If set, the build target +.Cm buildkernel +defaults to setting +.Va NO_KERNELCLEAN , +.Va NO_KERNELCONFIG +and +.Va NO_KERNELDEPEND . +When set to a value other than +.Cm 1 +then +.Va KERNCONF +is set to the value of +.Va KERNFAST . .El .Pp Builds under directory