summaryrefslogtreecommitdiff
path: root/BUILDING
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2023-05-16 21:21:38 +0000
committerlukem <lukem@NetBSD.org>2023-05-16 21:21:38 +0000
commit6d0349d2ae0c74b6cbfb4a87be23b7a7b954e83c (patch)
tree8e278c674da2ec1a43627be27df85c53be71a819 /BUILDING
parent7e97652c55f3767f85ac137efa295cd51641a05f (diff)
BUILDING: update upstream, regen
doc/BUILDING.mdoc is the upstream for BUILDING, so add recent changes in the latter to the former, formatting correctly. Move INSTALLBOOT_UBOOT_PATHS to Environment variables. Move INSTALLBOOT_BOARDS to "make" variables for full builds. Add installboot(8) cross-reference.
Diffstat (limited to 'BUILDING')
-rw-r--r--BUILDING28
1 files changed, 13 insertions, 15 deletions
diff --git a/BUILDING b/BUILDING
index 93ef58f7e12..6303e41c0fe 100644
--- a/BUILDING
+++ b/BUILDING
@@ -13,7 +13,7 @@ REQUIREMENTS
system to create a build toolchain for the target architecture. The host
system must have at least C and C++ compilers in order to create the
toolchain (make is not required); all other tools are created as part of
- the NetBSD build process. (See the environment variables section below
+ the NetBSD build process. (See the Environment variables section below
if you need to override or manually select your compilers.)
FILES
@@ -117,6 +117,10 @@ CONFIGURATION
HOST_CXXFLAGS Flags passed to the host C++ compiler.
+ INSTALLBOOT_UBOOT_PATHS
+ A colon-separated list of search paths used by
+ installboot(8) to find U-Boot packages.
+
MACHINE Machine type, e.g., "macppc".
MACHINE_ARCH Machine architecture, e.g., "powerpc".
@@ -153,18 +157,6 @@ CONFIGURATION
cannot usefully be set inside a Makefile, including
mk.conf or ${MAKECONF}.
- INSTALLBOOT_BOARDS
- A list of boards to create bootable images for.
- If corresponding U-Boot packages are installed,
- bootable images are created as part of a
- release. See the -o "board=" option of
- installboot(8).
-
- INSTALLBOOT_UBOOT_PATHS
- A colon-separated list of search paths used by
- installboot to find U-Boot packages; see
- installboot(8).
-
"make" variables
Several variables control the behavior of NetBSD builds. Unless
otherwise specified, these variables may be set in either the process
@@ -474,6 +466,12 @@ CONFIGURATION
These variables only affect the top level "Makefile" and do not affect
manually building subtrees of the NetBSD source code.
+ INSTALLBOOT_BOARDS
+ A list of boards to create bootable images for. If
+ corresponding U-Boot packages are installed, bootable
+ images are created as part of a release. See the
+ -o board=name option of installboot(8).
+
INSTALLWORLDDIR Location for the "make installworld" target to install
to. If specified, must be an absolute path.
@@ -1110,8 +1108,8 @@ OBSOLETE VARIABLES
TOOLCHAIN_MISSING=yes.
SEE ALSO
- make(1), hier(7), release(7), etcupdate(8), postinstall(8), sysinst(8),
- pkgsrc/sysutils/cdrtools
+ make(1), hier(7), release(7), etcupdate(8), installboot(8),
+ postinstall(8), sysinst(8), pkgsrc/sysutils/cdrtools
HISTORY
The build.sh based build scheme was introduced for NetBSD 1.6 as