Lines Matching +full:build +full:- +full:release
1 .\"-
2 .\" SPDX-License-Identifier: BSD-2-Clause
32 .Nm build
33 .Nd general instructions on how to build the
45 These directories may be initially empty or non-existent until updated with
65 For more information about the ports build process, see
70 command is used in each of these directories to build and install the
80 A source tree is allowed to be read-only.
95 The build may be controlled by defining
102 The default components included in the build are specified in the file
111 supported by the build system:
112 .Bl -tag -width ".Cm cleandepend"
126 Remove any files created during the build process.
152 Generate a list of build dependencies in file
154 Per-object dependencies are generated at build time and stored in
157 Install the results of the build to the appropriate location in the
171 The build system supports
180 .Bl -tag -width ".Cm distributeworld"
184 For cross-building the target architecture needs to be specified with
197 Build everything but the kernel, configure files in
200 .Pa release .
207 The actual build location prefix used
246 This target is used while building a release; see
247 .Xr release 7 .
248 .It Cm native-xtools
249 This target builds a cross-toolchain for the given
260 .It Cm native-xtools-install
266 .Pa nxb-bin .
276 This target is used while building a release; see
277 .Xr release 7 .
297 Create the build toolchain needed to build the rest of the system.
298 For cross-architecture builds, this step creates a cross-toolchain.
333 Create a build toolchain for each architecture supported by the build system.
335 Builds and installs a cross-toolchain and sysroot for the given
341 .Cm xdev-build
343 .Cm xdev-install .
357 .Pa ${TARGET_ARCH}-freebsd .
358 .It Cm xdev-build
362 .It Cm xdev-install
366 .It Cm xdev-links
367 Installs autoconf-style symlinks to
373 Kernel specific build targets in
376 .Bl -tag -width ".Cm distributekernel"
388 renaming any pre-existing directory with this name to
402 This target is used while building a release; see
403 .Xr release 7 .
415 ABI for the build target, for example,
422 This target is used while building a release; see
423 .Xr release 7 .
429 .It Cm kernel-toolchain
449 .Bl -tag -width ".Cm delete-old-libs"
450 .It Cm check-old
452 .It Cm delete-old
455 .Li -DBATCH_DELETE_OLD_FILES
457 non-interactive.
465 .It Cm delete-old-libs
470 .Li -DBATCH_DELETE_OLD_FILES
472 non-interactive.
483 .Bl -tag -width ".Va MAKEOBJDIRPREFIX"
485 Defines a set of debugging flags that will be used to build all userland
512 .Pa /etc/src-env.conf
521 If defined, compiler warnings will not cause the build to halt,
524 If defined, the build process will run the DTrace CTF conversion
533 .Bl -tag -width ".Va LOCAL_MODULES_DIR"
535 Requests use of an external toolchain to build either the world or kernel.
549 name ${MACHINE_ARCH}-gcc<major version>.
551 Overrides which kernel to build and install for the various kernel
564 If set, the build target
579 the root of the source tree to build as part of the
599 the root of the source tree to build as part of the
618 the root of the source tree to build as part of the
623 the root of the source tree to build as part of the
624 .Cm bootstrap-tools
628 the root of the source tree to build as part of the
629 .Cm build-tools
633 the root of the source tree to build as part of the
634 .Cm cross-tools
643 .Bd -literal -offset indent
644 make PORTS_MODULES=emulators/virtualbox-ose-kmod kernel
653 Defaults to the list of sub-directories of
664 The src.conf file controls the components to build.
683 Override the default list of sub-directories and only build the
684 sub-directory named in this variable.
687 then all libraries and includes, and some of the build tools will still build
690 .Cm -DNO_LIBS ,
692 .Cm -DWORLDFAST
693 will only build the specified directory as was done historically.
703 .Bd -literal -offset indent
704 make some-target SUBDIR_OVERRIDE=foo/bar
719 This is necessary to cross-build some target architectures.
720 For example, cross-building for ARM64 machines requires
735 Set this to cross-build for a different architecture.
753 .Bl -tag -width ".Va LOADER_DEFAULT_INTERP"
767 If set, the build targets that clean parts of the object tree use the
790 If set, the build process does not run the DTrace CTF conversion tools
793 If set, the build does not descend into the
800 If set, the build process does not run
806 If set, the build process does not run
812 If set, the build process does not run
822 previous build and no new directories are connected.
828 If set, the build target
834 It will only bootstrap libraries and build all of userland.
836 needs changed and that no new directories have been connected to the build.
844 .Bl -tag -width ".Va DOC_LANG"
846 If set, restricts the documentation build to the language subdirectories
848 The default action is to build documentation for all languages.
856 .Bl -tag -width ".Va USE_GCC_TOOLCHAINS"
860 invocation used to build worlds and kernels.
861 This can be used to enable multiple jobs within a single architecture's build
864 Only build kernels for each supported architecture.
866 Only build worlds for each supported architecture.
868 Only build kernels for each supported architecture.
870 Only build worlds for each supported architecture.
879 Use external GCC toolchains to build the requested targets.
881 the build for that architecture is skipped.
883 Only build the listed targets instead of each supported architecture.
885 In addition to the supported architectures, build the semi-supported
887 A semi-supported architecture has build support in the
893 .Bl -tag -width ".Pa /usr/share/examples/etc/make.conf" -compact
910 The following sequence of commands can be used to cross-build the system for
913 .Bd -literal -offset indent
928 .Xr release 7 ,