|
Lines 24-30
Link Here
|
| 24 |
.\" |
24 |
.\" |
| 25 |
.\" $FreeBSD: src/share/man/man7/build.7,v 1.27 2004/08/13 12:59:46 ru Exp $ |
25 |
.\" $FreeBSD: src/share/man/man7/build.7,v 1.27 2004/08/13 12:59:46 ru Exp $ |
| 26 |
.\" |
26 |
.\" |
| 27 |
.Dd August 13, 2004 |
27 |
.Dd January 10, 2005 |
| 28 |
.Dt BUILD 7 |
28 |
.Dt BUILD 7 |
| 29 |
.Os |
29 |
.Os |
| 30 |
.Sh NAME |
30 |
.Sh NAME |
|
Lines 90-95
Link Here
|
| 90 |
Install the kernel and the kernel modules. |
90 |
Install the kernel and the kernel modules. |
| 91 |
.It Cm reinstallkernel |
91 |
.It Cm reinstallkernel |
| 92 |
Reinstall the kernel and the kernel modules. |
92 |
Reinstall the kernel and the kernel modules. |
|
|
93 |
.It Cm kernel |
| 94 |
Equivalent to |
| 95 |
.Cm buildkernel |
| 96 |
followed by |
| 97 |
.Cm installkernel |
| 93 |
.El |
98 |
.El |
| 94 |
.Pp |
99 |
.Pp |
| 95 |
For more information about the ports build process, see |
100 |
For more information about the ports build process, see |
|
Lines 119-124
Link Here
|
| 119 |
The directory hierarchy where the resulting binaries will be |
124 |
The directory hierarchy where the resulting binaries will be |
| 120 |
installed. |
125 |
installed. |
| 121 |
.El |
126 |
.El |
|
|
127 |
.Sh FLAGS |
| 128 |
.Bl -tag -width ".Va NO_KERNELDEPEND" |
| 129 |
.It Va -DNO_MAN |
| 130 |
Do not build man pages. |
| 131 |
.It Va -DNO_GAMES |
| 132 |
Do not build games. |
| 133 |
.It Va -DNO_DYNAMICROOT |
| 134 |
Build |
| 135 |
.Pa /bin |
| 136 |
and |
| 137 |
.Pa /sbin |
| 138 |
statically. |
| 139 |
.El |
| 140 |
.Pp |
| 141 |
Note that there are many other flags which can be used. |
| 142 |
.Pa /usr/src/Makefile.inc1 |
| 143 |
lists more. |
| 144 |
.Pp |
| 145 |
The following flags can dramatically speed up a build, |
| 146 |
but should be used with care and never after the source |
| 147 |
has been updated since the last build. |
| 148 |
They are mainly useful for testing changes to individual |
| 149 |
files, where dependencies are known to have not changed. |
| 150 |
.Bl -tag -width ".Va NO_KERNELDEPEND" |
| 151 |
.It Va -DNO_CLEAN |
| 152 |
Do not clean before building. |
| 153 |
.It Va -DNO_KERNELDEPEND |
| 154 |
Do not recreate dependency information. |
| 155 |
.It Va -DNO_KERNELCONFIG |
| 156 |
Do not run |
| 157 |
.Xr config 8 |
| 158 |
to reconfigure the kernel before building. |
| 159 |
.El |
| 122 |
.Sh FILES |
160 |
.Sh FILES |
| 123 |
.Bl -tag -width ".Pa /usr/share/examples/etc/make.conf" -compact |
161 |
.Bl -tag -width ".Pa /usr/share/examples/etc/make.conf" -compact |
| 124 |
.It Pa /etc/make.conf |
162 |
.It Pa /etc/make.conf |
|
Lines 148-153
Link Here
|
| 148 |
.Ed |
186 |
.Ed |
| 149 |
.Sh SEE ALSO |
187 |
.Sh SEE ALSO |
| 150 |
.Xr cc 1 , |
188 |
.Xr cc 1 , |
|
|
189 |
.Xr config 8 , |
| 151 |
.Xr install 1 , |
190 |
.Xr install 1 , |
| 152 |
.Xr make 1 , |
191 |
.Xr make 1 , |
| 153 |
.Xr make.conf 5 , |
192 |
.Xr make.conf 5 , |