version 1.11, 2002/05/03 08:59:13 |
version 1.15, 2002/09/21 05:26:42 |
|
|
plementation are noted specially, as with the note below: |
plementation are noted specially, as with the note below: |
|
|
Note: This document applies only to platforms which use the new toolchain |
Note: This document applies only to platforms which use the new toolchain |
as indicated by the default setting of USE_NEW_TOOLCHAIN in <bsd.own.mk>. |
as indicated by the default setting of TOOLCHAIN_MISSING in <bsd.own.mk>. |
Platforms which have not yet been switched to the new toolchain should |
Platforms which have not yet been switched to the new toolchain should |
continue building traditionally, using the notes specified in the file |
continue building traditionally, using the notes specified in the file |
UPDATING. |
UPDATING. |
|
|
fore any system libraries or programs can be built. |
fore any system libraries or programs can be built. |
|
|
install Install programs, libraries, and documentation into DESTDIR. |
install Install programs, libraries, and documentation into DESTDIR. |
|
Few files will be installed to /dev, /etc, /root or /var in |
|
order to prevent user supplied configuration data from being |
|
overwritten. |
|
|
lint Run lint(1) against the C source code, where appropriate, and |
lint Run lint(1) against the C source code, where appropriate, and |
generate system-installed lint libraries. |
generate system-installed lint libraries. |
|
|
-b Bootstrap ``make'' and create a nbmake-MACHINE script (see be- |
-b Bootstrap ``make'' and create a nbmake-MACHINE script (see be- |
low). |
low). |
|
|
-d Build a full distribution. This differs from a normal build in |
-d Build a full distribution. This differs from a default build |
that etc files will also be installed. Note this does not |
in that files will also be installed to /dev, /etc, /root and |
build a ``release''; no release sets are placed in ${RE- |
/var. Note this does not build a ``release''; no release sets |
LEASEDIR}. |
are placed in ${RELEASEDIR}. -d is implied by -R. |
|
|
-j njob Passed through to make(1). Makefiles should use .WAIT or have |
-j njob Passed through to make(1). Makefiles should use .WAIT or have |
explicit dependancies as necessary to enforce build ordering. |
explicit dependancies as necessary to enforce build ordering. |
|
|
|
|
-D dest Set the value of DESTDIR to dest. |
-D dest Set the value of DESTDIR to dest. |
|
|
|
-M obj Set MAKEOBJDIRPREFIX to obj. |
|
|
-O obj Create an appropriate transform macro for MAKEOBJDIR that will |
-O obj Create an appropriate transform macro for MAKEOBJDIR that will |
place the built object files under obj. For instance, a set- |
place the built object files under obj. For instance, a set- |
ting of /usr/obj will place build-time files files under |
ting of /usr/obj will place build-time files under |
/usr/obj/bin, /usr/obj/lib, and so forth. |
/usr/obj/bin, /usr/obj/lib, and so forth. |
|
|
-R rel Set the value of RELEASEDIR to rel. Setting this option will |
-R rel Set the value of RELEASEDIR to rel. Setting this option will |
|
|
with an absolute path. |
with an absolute path. |
|
|
OBSOLETE VARIABLES |
OBSOLETE VARIABLES |
NBUILDJOBS Now obsolete. Use the make(1) option -j, instead. |
NBUILDJOBS Use the make(1) option -j, instead. |
|
|
|
USE_NEW_TOOLCHAIN |
|
The new toolchain is now the default. To disable, use |
|
TOOLCHAIN_MISSING=yes. |
|
|
SEE ALSO |
SEE ALSO |
make(1), hier(7), release(7) |
make(1), hier(7), release(7) |
|
|
HISTORY |
HISTORY |
The USE_NEW_TOOLCHAIN based build scheme was introduced in the ``NetBSD- |
The build.sh based build scheme was introduced for NetBSD 1.6 as |
current'' development sources between NetBSD 1.5 and NetBSD 1.6. |
USE_NEW_TOOLCHAIN, and re-worked to TOOLCHAIN_MISSING after that. |
|
|
BUGS |
BUGS |
A few platforms are not yet using the USE_NEW_TOOLCHAIN system. |
A few platforms are not yet using this build system. |
|
|
NetBSD May 3, 2002 8 |
NetBSD September 21, 2002 8 |