Lines Matching +full:built +full:- +full:into
2 .\" SPDX-License-Identifier: BSD-2-Clause
41 .Bl -tag -width "/usr/ports"
49 third-party software, with a consistent interface for building and
54 These directories may be initially empty or non-existent until updated
71 With no target specified, the items in the directories are built
74 A source tree is allowed to be read-only.
77 objects are usually built in a separate object directory hierarchy
108 .Bl -tag -width ".Cm cleandepend"
150 Per-object dependencies are generated at build time and stored in
176 .Bl -tag -width ".Cm distributeworld"
180 For cross-building the target architecture needs to be specified with
189 built; see the
233 Attempts to clean up targets built by a preceding
235 or similar step, built from the same source directory and
238 Attempt to clean up targets built by a preceding
240 or similar step, built from this source directory.
244 is enabled, attempt to clean up targets built by a preceding
247 or similar step, for any architecture built from this source directory.
258 .It Cm native-xtools
259 This target builds a cross-toolchain for the given
270 .It Cm native-xtools-install
276 .Pa nxb-bin .
283 .Xr freebsd-base 7
304 .Xr freebsd-base 7
307 Install everything built by a preceding
309 step into the directory hierarchy pointed to by
326 For cross-architecture builds, this step creates a cross-toolchain.
342 defined so only the kernels for each architecture are built.
348 defined so only the worlds for each architecture are built.
363 Builds and installs a cross-toolchain and sysroot for the given
369 .Cm xdev-build
371 .Cm xdev-install .
385 .Pa ${TARGET_ARCH}-freebsd .
386 .It Cm update-packages
388 .Xr freebsd-base 7
392 will be copied into the new repository to avoid needless updating of the
394 .It Cm xdev-build
398 .It Cm xdev-install
402 .It Cm xdev-links
403 Installs autoconf-style symlinks to
405 pointing into the xdev toolchain in
412 .Bl -tag -width ".Cm distributekernel"
424 renaming any pre-existing directory with this name to
448 .Xr freebsd-base 7
455 .It Cm kernel-toolchain
475 .Bl -tag -width ".Cm delete-old-libs"
476 .It Cm check-old
478 .It Cm check-old-libs
480 .It Cm delete-old
483 .Li -DBATCH_DELETE_OLD_FILES
485 non-interactive.
493 .It Cm delete-old-libs
498 .Li -DBATCH_DELETE_OLD_FILES
500 non-interactive.
511 .Bl -tag -width ".Va MAKEOBJDIRPREFIX"
527 The directory hierarchy prefix where built objects will be installed.
535 Defines the prefix for directory names in the tree of built objects.
540 .Pa /etc/src-env.conf
553 tools on built objects.
561 .Bl -tag -width ".Va LOCAL_MODULES_DIR"
577 name ${MACHINE_ARCH}-gcc<major version>.
589 Useful for stand-alone modules that depend on
592 Automatically set for modules built with a kernel.
623 The directories are built in parallel with each other,
629 list to ensure all base system directories are built first.
643 The directories are built in parallel with each other,
649 list to ensure all base system libraries are built first.
665 .Cm bootstrap-tools
670 .Cm build-tools
675 .Cm cross-tools
684 .Xr freebsd-base 7
694 .Xr pkg-create 8 .
696 A list of ports with kernel modules that should be built and installed
703 .Xr freebsd-base 7
708 .Bd -literal
709 PORTS_MODULES=graphics/gpu-firmware-intel-kmod@kabylake
710 PORTS_MODULES+=graphics/drm-66-kmod
713 A list of external kernel modules that should be built and installed
719 Defaults to the list of sub-directories of
739 .Xr src-env.conf 5 .
756 Override the default list of sub-directories and only build the
757 sub-directory named in this variable.
763 .Cm -DNO_LIBS ,
765 .Cm -DWORLDFAST
776 .Bd -literal -offset indent
777 make some-target SUBDIR_OVERRIDE=foo/bar
792 This is necessary to cross-build some target architectures.
793 For example, cross-building for ARM64 machines requires
808 Set this to cross-build for a different architecture.
826 .Bl -tag -width ".Va LOADER_DEFAULT_INTERP"
837 It also determines what interpreter is compiled into
864 on built objects.
866 If set, the build does not descend into the
897 Requests use of the toolchain built as part of the
917 .Bl -tag -width ".Va DOC_LANG"
929 .Bl -tag -width ".Va USE_GCC_TOOLCHAINS"
963 In addition to the supported architectures, build the semi-supported
965 A semi-supported architecture has build support in the
971 .Bl -tag -width ".Pa /usr/share/examples/etc/make.conf" -compact
1001 so they are built and installed automatically after the kernel:
1002 .Bd -literal -offset indent
1005 PORTS_MODULES+=graphics/drm-kmod emulators/virtualbox-ose-kmod
1011 .Bd -literal -offset indent
1016 shutdown -r now
1019 For major version upgrades, boot into single-user mode.
1023 .Bd -literal -offset indent
1025 etcupdate -p
1027 etcupdate -B
1028 make delete-old delete-old-libs
1029 shutdown -r now
1039 .Bd -literal -offset indent
1051 .Bd -literal -offset indent
1052 make kernel-toolchain
1053 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=MYKERNEL
1054 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=MYKERNEL
1055 shutdown -r now
1062 .Bd -literal -offset indent
1064 nextboot -k testkernel
1065 shutdown -r now
1070 .Bd -literal -offset indent
1078 .Bd -literal -offset indent
1086 .Bd -literal -offset indent
1090 .Ss Example 6: Cross-compiling for different architectures
1094 first prepare your source tree by building the cross-toolchain:
1095 .Bd -literal -offset indent
1100 The following sequence of commands can be used to cross-build the system
1103 .Bd -literal -offset indent
1110 .Bd -literal -offset indent
1117 .Bd -literal -offset indent
1123 .Bl -diag
1137 .Xr freebsd-base 7 ,
1160 .Ql env -i
1163 booting into single user mode for