[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.59.2.3 and 1.60

version 1.59.2.3, 2007/09/29 11:10:56 version 1.60, 2007/01/27 11:47:36
Line 485  BUILDING
Line 485  BUILDING
                    INSTALLWORLDDIR is not the root directory if cross compil-                     INSTALLWORLDDIR is not the root directory if cross compil-
                    ing.                     ing.
   
                    The INSTALLSETS environment variable may be set to a list                     Note: It is highly recommended that you upgrade your kernel
                    of distribution sets to be installed.  By default, all sets                     and reboot before performing this operation.
                    except ``etc'' and ``xetc'' are installed (so most files in  
                    INSTALLWORLDDIR/etc will not be installed or modified).  
   
                    Note: Before performing this operation with  
                    INSTALLWORLDDIR=/, it is highly recommended that you  
                    upgrade your kernel and reboot.  After performing this  
                    operation, it is recommended that you use etcupdate(8) to  
                    update files in INSTALLWORLDDIR/etc and that you use  
                    postinstall(8) to check for inconsistencies (and possibly  
                    to fix them).  
   
      sets          Create distribution sets from DESTDIR into       sets          Create distribution sets from DESTDIR into
                    RELEASEDIR/MACHINE/binary/sets.  Should be run after ``make                     RELEASEDIR/MACHINE/binary/sets.  Should be run after ``make
Line 517  BUILDING
Line 507  BUILDING
                    described by release(7).  This requires that RELEASEDIR be                     described by release(7).  This requires that RELEASEDIR be
                    set (see above).                     set (see above).
   
      iso-image     Create a NetBSD installation CD-ROM image in the       iso-image     Create a CD-ROM image in
                    RELEASEDIR/iso directory.  The CD-ROM file system will have                     RELEASEDIR/MACHINE/installation/cdrom.  RELEASEDIR must
                    a layout as described in release(7).                     already have been populated by ``make release'' or equiva-
                      lent.  This requires the mkisofs(1) utility, which is not
                    For most machine types, the CD-ROM will be bootable, and                     part of NetBSD, but which can be installed from
                    will automatically run the sysinst(8) menu-based installa-                     pkgsrc/sysutils/cdrtools.
                    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'' is attempted, RELEASEDIR must be  
                    populated by ``make release'' or equivalent.  
   
                    Note that other, smaller, CD-ROM images may be created in  
                    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-  
                    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/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-  
                    ity, which is not part of NetBSD, but which can be  
                    installed from pkgsrc/sysutils/cdrtools.  
   
      regression-tests       regression-tests
                    Can only be run after building the regression tests in the                     Can only be run after building the regression tests in the
Line 611  BUILDING
Line 555  BUILDING
      tools         Build and install the host tools from src/tools.       tools         Build and install the host tools from src/tools.
   
      install=idir  Install the contents of DESTDIR to idir, using ``make       install=idir  Install the contents of DESTDIR to idir, using ``make
                    installworld''.  Note that files that are part of the                     installworld''.
                    ``etc'' or ``xetc'' sets will not be installed.  
   
      kernel=kconf  Build a new kernel.  The kconf argument is the name of a       kernel=kconf  Build a new kernel.  The kconf argument is the name of a
                    configuration file suitable for use by config(1).  If kconf                     configuration file suitable for use by config(1).  If kconf
Line 639  BUILDING
Line 582  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 653  BUILDING
Line 593  BUILDING
                that the resulting name is of the form                 that the resulting name is of the form
                ``nbmake-MACHINE-BUILDID''.                 ``nbmake-MACHINE-BUILDID''.
   
      -C cddir  Set the value of CDEXTRA to cddir.  If a relative path is spec-  
                ified, it will be converted to an absolute path before being  
                used.  When combined with ``iso-image'' or  
                ``iso-image-source'', it will cause the contents of cddir to be  
                added to the CD-ROM image.  
   
      -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 682  BUILDING
Line 616  BUILDING
                it will be converted to an absolute path before being used.                 it will be converted to an absolute path before being used.
                Unsets MAKEOBJDIR.                 Unsets MAKEOBJDIR.
   
      -m mach   Set the value of MACHINE to mach.  This will also override any       -m mach   Set the value of MACHINE to mach, except in some special cases
                value of MACHINE_ARCH in the process environment with a value                 listed below.  This will also override any value of
                deduced from mach, unless -a is specified, or mach is a special                 MACHINE_ARCH in the process environment with a value deduced
                case listed below.  All cross builds require -m, but if unset                 from mach, unless -a is specified.  All cross builds require
                on a NetBSD host, the host's value of MACHINE will be detected                 -m, but if unset on a NetBSD host, the host's value of MACHINE
                and used automatically.                 will be detected and used automatically.
   
                Some machines support multiple values for MACHINE_ARCH.  For a                 Some machines support multiple values for MACHINE_ARCH.  The
                given value of mach, the following MACHINE and MACHINE_ARCH                 following special cases for the mach argument are defined to
                values will result:                 set the listed values of MACHINE and MACHINE_ARCH:
   
                      mach          MACHINE    MACHINE_ARCH                       mach          MACHINE    MACHINE_ARCH
                        evbarm        evbarm     (not set)
                        evbarm-eb     evbarm     armeb
                        evbarm-el     evbarm     arm
                      evbmips       evbmips    (not set)                       evbmips       evbmips    (not set)
                      evbmips-eb    evbmips    mipseb                       evbmips-eb    evbmips    mipseb
                      evbmips-el    evbmips    mipsel                       evbmips-el    evbmips    mipsel
Line 810  OBSOLETE VARIABLES
Line 747  OBSOLETE VARIABLES
                  TOOLCHAIN_MISSING=yes.                   TOOLCHAIN_MISSING=yes.
   
 SEE ALSO  SEE ALSO
      make(1), hier(7), release(7), etcupdate(8), postinstall(8), sysinst(8),       make(1), hier(7), release(7), pkgsrc/sysutils/cdrtools
      pkgsrc/sysutils/cdrtools  
   
 HISTORY  HISTORY
      The build.sh based build scheme was introduced for NetBSD 1.6 as       The build.sh based build scheme was introduced for NetBSD 1.6 as
Line 820  HISTORY
Line 756  HISTORY
 BUGS  BUGS
      A few platforms are not yet using this build system.       A few platforms are not yet using this build system.
   
 NetBSD                         September 1, 2007                        NetBSD  NetBSD                          January 4, 2006                         NetBSD

Legend:
Removed from v.1.59.2.3  
changed lines
  Added in v.1.60

CVSweb <webmaster@jp.NetBSD.org>