Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/BUILDING,v rcsdiff: /ftp/cvs/cvsroot/src/BUILDING,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.62.4.3 retrieving revision 1.65 diff -u -p -r1.62.4.3 -r1.65 --- src/BUILDING 2008/03/23 00:12:06 1.62.4.3 +++ src/BUILDING 2007/09/01 08:15:27 1.65 @@ -454,14 +454,13 @@ BUILDING Additional make(1) targets are usable specifically from the top source level to facilitate building the entire NetBSD source tree. - build Build the entire NetBSD system (except the kernel). This - orders portions of the source tree such that prerequisites - will be built in the proper order. + build Build the entire NetBSD system. This orders portions of + the source tree such that prerequisites will be built in + the proper order. distribution Do a ``make build'', and then install a full distribution - (which does not include a kernel) into DESTDIR, including - files in DESTDIR/dev, DESTDIR/etc, DESTDIR/root and - DESTDIR/var. + into DESTDIR, including files in DESTDIR/dev, DESTDIR/etc, + DESTDIR/root and DESTDIR/var. buildworld As per ``make distribution'', except that it ensures that DESTDIR is not the root directory. @@ -485,17 +484,17 @@ BUILDING to fix them). sets Create distribution sets from DESTDIR into - RELEASEDIR/RELEASEMACHINEDIR/binary/sets. Should be run - after ``make distribution'' (as ``make build'' does not - install all of the required files). + RELEASEDIR/MACHINE/binary/sets. Should be run after ``make + distribution'' (as ``make build'' does not install all of + the required files). sourcesets Create source sets of the source tree into RELEASEDIR/source/sets. syspkgs Create syspkgs from DESTDIR into - RELEASEDIR/RELEASEMACHINEDIR/binary/syspkgs. Should be run - after ``make distribution'' (as ``make build'' does not - install all of the required files). + RELEASEDIR/MACHINE/binary/syspkgs. Should be run after + ``make distribution'' (as ``make build'' does not install + all of the required files). release Do a ``make distribution'', build kernels, distribution media, and install sets (this as per ``make sets''), and @@ -517,11 +516,11 @@ BUILDING populated by ``make release'' or equivalent. Note that other, smaller, CD-ROM images may be created in - the RELEASEDIR/RELEASEMACHINEDIR/installation/cdrom direc- - tory by ``make release''. These smaller images usually - contain the same tools as the larger images in - RELEASEDIR/iso, but do not contain additional content such - as the distribution sets. + the RELEASEDIR/MACHINE/installation/cdrom directory by + ``make release''. These smaller images usually contain the + same tools as the larger images in RELEASEDIR/iso, but do + not contain additional content such as the distribution + sets. Note that the mac68k port still uses an older method of creating CD-ROM images. This requires the mkisofs(1) util- @@ -545,11 +544,11 @@ BUILDING lent. Note that other, smaller, CD-ROM images may be created in - the RELEASEDIR/RELEASEMACHINEDIR/installation/cdrom direc- - tory by ``make release''. These smaller images usually - contain the same tools as the larger images in - RELEASEDIR/iso, but do not contain additional content such - as the distribution sets. + the RELEASEDIR/MACHINE/installation/cdrom directory by + ``make release''. These smaller images usually contain the + same tools as the larger images in RELEASEDIR/iso, but do + not contain additional content such as the distribution + sets. Note that the mac68k port still uses an older method of creating CD-ROM images. This requires the mkisofs(1) util- @@ -613,10 +612,9 @@ BUILDING releasekernel=kconf Install a gzip(1)ed copy of the kernel built by - kernel=kconf into - RELEASEDIR/RELEASEMACHINEDIR/binary/kernel, usually as - netbsd-kconf.gz, although the ``netbsd'' prefix is deter- - mined from the ``config'' directives in kconf. + kernel=kconf into RELEASEDIR/MACHINE/binary/kernel, usually + as netbsd-kconf.gz, although the ``netbsd'' prefix is + determined from the ``config'' directives in kconf. sets Perform ``make sets''. @@ -629,6 +627,12 @@ BUILDING iso-image-source Perform ``make iso-image-source''. + iso-dir=directory + When combined with ``iso-image'' or ``iso-image-source'', + it will cause directory to be added to the CD-ROM image. + If directory does not start with ``/'' then it will be made + relative to RELEASEDIR. + The following command line options alter the behaviour of the build.sh operations described above: @@ -636,19 +640,10 @@ BUILDING -B buildid Set the value of BUILDID to buildid. This will also append the - build identifier to the name of the ``make'' wrapper script so + build idenfitier to the name of the ``make'' wrapper script so that the resulting name is of the form ``nbmake-MACHINE-BUILDID''. - -C cdextras - Set the value of CDEXTRA to cdextras which is a space-separated - list of files or directories which will be added in order to - the CD-ROM image when used in conjunction with ``iso-image'' or - ``iso-image-source''. Files will be added to the root of the - CD-ROM image, whereas directories will be copied recursively. - If relative paths are specified, they will be converted to - absolute paths before being used. - -D dest Set the value of DESTDIR to dest. If a relative path is speci- fied, it will be converted to an absolute path before being used. @@ -813,4 +808,4 @@ HISTORY BUGS A few platforms are not yet using this build system. -NetBSD March 18, 2008 NetBSD +NetBSD September 1, 2007 NetBSD