[BACK]Return to BUILDING CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/BUILDING between version 1.62.4.3 and 1.63

version 1.62.4.3, 2008/03/23 00:12:06 version 1.63, 2007/08/30 00:35:11
Line 454  BUILDING
Line 454  BUILDING
      Additional make(1) targets are usable specifically from the top source       Additional make(1) targets are usable specifically from the top source
      level to facilitate building the entire NetBSD source tree.       level to facilitate building the entire NetBSD source tree.
   
      build         Build the entire NetBSD system (except the kernel).  This       build         Build the entire NetBSD system.  This orders portions of
                    orders portions of the source tree such that prerequisites                     the source tree such that prerequisites will be built in
                    will be built in the proper order.                     the proper order.
   
      distribution  Do a ``make build'', and then install a full distribution       distribution  Do a ``make build'', and then install a full distribution
                    (which does not include a kernel) into DESTDIR, including                     into DESTDIR, including files in DESTDIR/dev, DESTDIR/etc,
                    files in DESTDIR/dev, DESTDIR/etc, DESTDIR/root and                     DESTDIR/root and DESTDIR/var.
                    DESTDIR/var.  
   
      buildworld    As per ``make distribution'', except that it ensures that       buildworld    As per ``make distribution'', except that it ensures that
                    DESTDIR is not the root directory.                     DESTDIR is not the root directory.
Line 485  BUILDING
Line 484  BUILDING
                    to fix them).                     to fix them).
   
      sets          Create distribution sets from DESTDIR into       sets          Create distribution sets from DESTDIR into
                    RELEASEDIR/RELEASEMACHINEDIR/binary/sets.  Should be run                     RELEASEDIR/MACHINE/binary/sets.  Should be run after ``make
                    after ``make distribution'' (as ``make build'' does not                     distribution'' (as ``make build'' does not install all of
                    install all of the required files).                     the required files).
   
      sourcesets    Create source sets of the source tree into       sourcesets    Create source sets of the source tree into
                    RELEASEDIR/source/sets.                     RELEASEDIR/source/sets.
   
      syspkgs       Create syspkgs from DESTDIR into       syspkgs       Create syspkgs from DESTDIR into
                    RELEASEDIR/RELEASEMACHINEDIR/binary/syspkgs.  Should be run                     RELEASEDIR/MACHINE/binary/syspkgs.  Should be run after
                    after ``make distribution'' (as ``make build'' does not                     ``make distribution'' (as ``make build'' does not install
                    install all of the required files).                     all of the required files).
   
      release       Do a ``make distribution'', build kernels, distribution       release       Do a ``make distribution'', build kernels, distribution
                    media, and install sets (this as per ``make sets''), and                     media, and install sets (this as per ``make sets''), and
Line 517  BUILDING
Line 516  BUILDING
                    populated by ``make release'' or equivalent.                     populated by ``make release'' or equivalent.
   
                    Note that other, smaller, CD-ROM images may be created in                     Note that other, smaller, CD-ROM images may be created in
                    the RELEASEDIR/RELEASEMACHINEDIR/installation/cdrom direc-                     the RELEASEDIR/MACHINE/installation/cdrom directory by
                    tory by ``make release''.  These smaller images usually                     ``make release''.  These smaller images usually contain the
                    contain the same tools as the larger images in                     same tools as the larger images in RELEASEDIR/iso, but do
                    RELEASEDIR/iso, but do not contain additional content such                     not contain additional content such as the distribution
                    as the distribution sets.                     sets.
   
                    Note that the mac68k port still uses an older method of  
                    creating CD-ROM images.  This requires the mkisofs(1) util-  
                    ity, which is not part of NetBSD, but which can be  
                    installed from pkgsrc/sysutils/cdrtools.  
   
      iso-image-source  
                    Create a NetBSD installation CD-ROM image in the  
                    RELEASEDIR/iso directory.  The CD-ROM file system will have  
                    a layout as described in release(7).  It will have top  
                    level directories for the machine type and source.  
   
                    For most machine types, the CD-ROM will be bootable, and  
                    will automatically run the sysinst(8) menu-based installa-  
                    tion program, which can be used to install or upgrade a  
                    NetBSD system.  Bootable CD-ROMs also contain tools that  
                    may be useful in repairing a damaged NetBSD installation.  
   
                    Before ``make iso-image-source'' is attempted, RELEASEDIR  
                    must be populated by ``make sourcesets release'' or equiva-  
                    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.  
   
                    Note that the mac68k port still uses an older method of                     Note that the mac68k port still uses an older method of
                    creating CD-ROM images.  This requires the mkisofs(1) util-                     creating CD-ROM images.  This requires the mkisofs(1) util-
Line 613  BUILDING
Line 584  BUILDING
   
      releasekernel=kconf       releasekernel=kconf
                    Install a gzip(1)ed copy of the kernel built by                     Install a gzip(1)ed copy of the kernel built by
                    kernel=kconf into                     kernel=kconf into RELEASEDIR/MACHINE/binary/kernel, usually
                    RELEASEDIR/RELEASEMACHINEDIR/binary/kernel, usually as                     as netbsd-kconf.gz, although the ``netbsd'' prefix is
                    netbsd-kconf.gz, although the ``netbsd'' prefix is deter-                     determined from the ``config'' directives in kconf.
                    mined from the ``config'' directives in kconf.  
   
      sets          Perform ``make sets''.       sets          Perform ``make sets''.
   
Line 626  BUILDING
Line 596  BUILDING
   
      iso-image     Perform ``make iso-image''.       iso-image     Perform ``make iso-image''.
   
      iso-image-source  
                    Perform ``make iso-image-source''.  
   
      The following command line options alter the behaviour of the build.sh       The following command line options alter the behaviour of the build.sh
      operations described above:       operations described above:
   
Line 636  BUILDING
Line 603  BUILDING
   
      -B buildid       -B buildid
                Set the value of BUILDID to buildid.  This will also append the                 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                 that the resulting name is of the form
                ``nbmake-MACHINE-BUILDID''.                 ``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-       -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                 fied, it will be converted to an absolute path before being
                used.                 used.
Line 813  HISTORY
Line 771  HISTORY
 BUGS  BUGS
      A few platforms are not yet using this build system.       A few platforms are not yet using this build system.
   
 NetBSD                          March 18, 2008                          NetBSD  NetBSD                          April 13, 2007                          NetBSD

Legend:
Removed from v.1.62.4.3  
changed lines
  Added in v.1.63

CVSweb <webmaster@jp.NetBSD.org>