Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115884797
D26343.id76703.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D26343.id76703.diff
View Options
Index: share/man/man5/src.conf.5
===================================================================
--- share/man/man5/src.conf.5
+++ share/man/man5/src.conf.5
@@ -1,6 +1,6 @@
.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
.\" $FreeBSD$
-.Dd September 5, 2020
+.Dd September 6, 2020
.Dt SRC.CONF 5
.Os
.Sh NAME
@@ -9,9 +9,10 @@
.Sh DESCRIPTION
The
.Nm
-file contains settings that will apply to every build involving the
+file contains variables that control what components will be generated during
+the build process of the
.Fx
-source tree; see
+source tree (/usr/src); see
.Xr build 7 .
.Pp
The
Index: share/man/man7/build.7
===================================================================
--- share/man/man7/build.7
+++ share/man/man7/build.7
@@ -24,12 +24,12 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 5, 2020
+.Dd September 6, 2020
.Dt BUILD 7
.Os
.Sh NAME
.Nm build
-.Nd information on how to build the system
+.Nd General instructions on how to build the system
.Sh DESCRIPTION
The sources for the
.Fx
@@ -66,10 +66,11 @@
things in that directory.
Issuing the
.Xr make 1
-command in any directory or
-subdirectory of those directories has the same effect as issuing the
-same command in all subdirectories of that directory.
-With no target specified, the things in that directory are just built.
+command in any directory issues the
+.Xr make 1
+command recursively in all subdirectories.
+With no target specified, the items in the directories are built
+and no further action is taken.
.Pp
A source tree is allowed to be read-only.
As described in
@@ -93,6 +94,14 @@
section below, and by the variables documented in
.Xr make.conf 5 .
.Pp
+The default components included in the build are specified in the file
+.Pa /etc/src.conf
+in the source tree.
+To override the default file, include the SRCCONF option in the make steps,
+pointing to a custom src.conf file.
+For more information see
+.Xr src.conf 5 .
+.Pp
The following list provides the names and actions for the targets
supported by the build system:
.Bl -tag -width ".Cm cleandepend"
@@ -583,6 +592,12 @@
.Bd -literal -offset indent
make PORTS_MODULES=emulators/kqemu-kmod kernel
.Ed
+.It Va SRCCONF
+Specify a file to override the default
+.Pa /etc/src.conf .
+The src.conf file controls the components to build.
+See
+.Xr SRC.CONF 5
.It Va STRIPBIN
Command to use at install time when stripping binaries.
Be sure to add any additional tools required to run
Index: tools/build/options/makeman
===================================================================
--- tools/build/options/makeman
+++ tools/build/options/makeman
@@ -154,9 +154,10 @@
.Sh DESCRIPTION
The
.Nm
-file contains settings that will apply to every build involving the
+file contains variables that control what components will be generated during
+the build process of the
.Fx
-source tree; see
+source tree (/usr/src); see
.Xr build 7 .
.Pp
The
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 12:11 AM (11 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17867914
Default Alt Text
D26343.id76703.diff (2 KB)
Attached To
Mode
D26343: Improvements for src.conf(5) and build(7) man pages
Attached
Detach File
Event Timeline
Log In to Comment