Changeset View
Changeset View
Standalone View
Standalone View
share/man/man7/build.7
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd September 11, 2020 | .Dd October 1, 2020 | ||||
.Dt BUILD 7 | .Dt BUILD 7 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm build | .Nm build | ||||
.Nd General instructions on how to build the system | .Nd General instructions on how to build the system | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The sources for the | The sources for the | ||||
.Fx | .Fx | ||||
▲ Show 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | |||||
or similar step, for any architecture built from this source directory. | or similar step, for any architecture built from this source directory. | ||||
.It Cm distributeworld | .It Cm distributeworld | ||||
Distribute everything compiled by a preceding | Distribute everything compiled by a preceding | ||||
.Cm buildworld | .Cm buildworld | ||||
step. | step. | ||||
Files are placed in the directory hierarchy specified by | Files are placed in the directory hierarchy specified by | ||||
.Xr make 1 | .Xr make 1 | ||||
variable | variable | ||||
.Va DISTDIR . | .Va RELDISTDIR . | ||||
This target is used while building a release; see | This target is used while building a release; see | ||||
.Xr release 7 . | .Xr release 7 . | ||||
.It Cm native-xtools | .It Cm native-xtools | ||||
This target builds a cross-toolchain for the given | This target builds a cross-toolchain for the given | ||||
.Sy TARGET | .Sy TARGET | ||||
and | and | ||||
.Sy TARGET_ARCH , | .Sy TARGET_ARCH , | ||||
as well as a select list of static userland tools for the host system. | as well as a select list of static userland tools for the host system. | ||||
Show All 13 Lines | |||||
.Sy TARGET | .Sy TARGET | ||||
and | and | ||||
.Sy TARGET_ARCH | .Sy TARGET_ARCH | ||||
must be defined. | must be defined. | ||||
.It Cm packageworld | .It Cm packageworld | ||||
Archive the results of | Archive the results of | ||||
.Cm distributeworld , | .Cm distributeworld , | ||||
placing the results in | placing the results in | ||||
.Va DISTDIR . | .Va RELDISTDIR . | ||||
This target is used while building a release; see | This target is used while building a release; see | ||||
.Xr release 7 . | .Xr release 7 . | ||||
.It Cm installworld | .It Cm installworld | ||||
Install everything built by a preceding | Install everything built by a preceding | ||||
.Cm buildworld | .Cm buildworld | ||||
step into the directory hierarchy pointed to by | step into the directory hierarchy pointed to by | ||||
.Xr make 1 | .Xr make 1 | ||||
variable | variable | ||||
▲ Show 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | |||||
may be modified using the | may be modified using the | ||||
.Va INSTKERNNAME | .Va INSTKERNNAME | ||||
and | and | ||||
.Va KODIR | .Va KODIR | ||||
.Xr make 1 | .Xr make 1 | ||||
variables. | variables. | ||||
.It Cm distributekernel | .It Cm distributekernel | ||||
Install the kernel to the directory | Install the kernel to the directory | ||||
.Pa ${DISTDIR}/kernel/boot/kernel . | .Pa ${RELDISTDIR}/kernel/boot/kernel . | ||||
This target is used while building a release; see | This target is used while building a release; see | ||||
.Xr release 7 . | .Xr release 7 . | ||||
.It Cm packagekernel | .It Cm packagekernel | ||||
Archive the results of | Archive the results of | ||||
.Cm distributekernel , | .Cm distributekernel , | ||||
placing the results in | placing the results in | ||||
.Va DISTDIR . | .Va RELDISTDIR . | ||||
This target is used while building a release; see | This target is used while building a release; see | ||||
.Xr release 7 . | .Xr release 7 . | ||||
.It Cm kernel | .It Cm kernel | ||||
Equivalent to | Equivalent to | ||||
.Cm buildkernel | .Cm buildkernel | ||||
followed by | followed by | ||||
.Cm installkernel | .Cm installkernel | ||||
.It Cm kernel-toolchain | .It Cm kernel-toolchain | ||||
▲ Show 20 Lines • Show All 462 Lines • Show Last 20 Lines |