[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.37 and 1.39

version 1.37, 2003/07/18 02:19:55 version 1.39, 2003/07/18 16:30:49
Line 233  CONFIGURATION
Line 233  CONFIGURATION
   
                  Default: ``yes''                   Default: ``yes''
   
        MKUNPRIVED  Can be set to ``yes'' or ``no''.  Indicates whether an un-
                    privileged install will occur.  The user, group, permissions,
                    and file flags, will not be set on the installed item; in-
                    stead the information will be appended to a file called
                    METALOG in DESTDIR.  The contents of METALOG is used during
                    the generation of the distribution tar files to ensure that
                    the appropriate file ownership is stored.
   
                    Default: ``no''
   
        MKUPDATE    Can be set to ``yes'' or ``no''.  Indicates whether all in-
                    stall operations intended to write to DESTDIR will compare
                    file timestamps before installing, and skip the install phase
                    if the destination files are up-to-date.  This also has im-
                    plications on full builds (see next subsection).
   
                    Default: ``no''
   
      TOOLDIR     Directory to hold the host tools, once built.  This directory       TOOLDIR     Directory to hold the host tools, once built.  This directory
                  should be unique to a given host system and NetBSD source                   should be unique to a given host system and NetBSD source
                  tree.  (However, multiple targets may share the same TOOLDIR;                   tree.  (However, multiple targets may share the same TOOLDIR;
                  the target-dependent files have unique names.)  If unset, a                   the target-dependent files have unique names.)  If unset, a
                  default based on the uname(1) information of the host plat-                   default based on the uname(1) information of the host plat-
                  form will be created in the .OBJDIR of src/tools.                   form will be created in the .OBJDIR of src.
   
                  Default: Unset.  
   
      UNPRIVED    If set, then an unprivileged install will occur.  The user,  
                  group, permissions, and file flags, will not be set on the  
                  installed item; instead the information will be appended to a  
                  file called METALOG in DESTDIR.  The contents of METALOG is  
                  used during the generation of the distribution tar files to  
                  ensure that the appropriate file ownership is stored.  
   
                  Default: Unset.  
   
      UPDATE      If set, then all install operations intended to write to  
                  DESTDIR will compare file timestamps before installing, and  
                  skip the install phase if the destination files are up-to-  
                  date.  This also has implications on full builds (see next  
                  subsection).  
   
                  Default: Unset.                   Default: Unset.
   
Line 297  CONFIGURATION
Line 298  CONFIGURATION
   
                       Default: ``no''                        Default: ``no''
   
        MKUPDATE         Can be set to ``yes'' or ``no''.  If set, then in addi-
                         tion to the effects described for MKUPDATE=yes above,
                         this implies the effects of NOCLEANDIR (i.e., ``make
                         cleandir'' is avoided).
   
                         Default: ``no''
   
      NBUILDJOBS       Now obsolete.  Use the make(1) option -j, instead (see       NBUILDJOBS       Now obsolete.  Use the make(1) option -j, instead (see
                       below)                        below)
   
Line 323  CONFIGURATION
Line 331  CONFIGURATION
                       cause the system include files have changed.  However,                        cause the system include files have changed.  However,
                       this option should not be used when updating the entire                        this option should not be used when updating the entire
                       NetBSD source tree arbitrarily; it is suggested to use                        NetBSD source tree arbitrarily; it is suggested to use
                       UPDATE in that case.                        MKUPDATE=yes in that case.
   
                       Default: Unset.                        Default: Unset.
   
Line 335  CONFIGURATION
Line 343  CONFIGURATION
                       Note: build.sh will provide a default of releasedir (in                        Note: build.sh will provide a default of releasedir (in
                       the top-level .OBJDIR) unless run in `expert' mode                        the top-level .OBJDIR) unless run in `expert' mode
   
      UPDATE           If set, then in addition to the effects described for  
                       UPDATE above, this implies the effects of NOCLEANDIR  
                       (i.e., ``make cleandir'' is avoided).  
   
 BUILDING  BUILDING
    "make" command line options     "make" command line options
      This is only a summary of options available to make(1); only the options       This is only a summary of options available to make(1); only the options
Line 526  BUILDING
Line 530  BUILDING
   
      -E        Set `expert' mode.  This overrides various sanity checks, and       -E        Set `expert' mode.  This overrides various sanity checks, and
                allows: DESTDIR does not have to be set to a non-root path for                 allows: DESTDIR does not have to be set to a non-root path for
                builds, and UNPRIVED does not have to be set when building as a                 builds, and MKUNPRIVED=yes does not have to be set when build-
                non-root user.                 ing as a non-root user.
   
                Note: It is highly recommended that you know what you are doing                 Note: It is highly recommended that you know what you are doing
                when you use this option.                 when you use this option.
Line 584  BUILDING
Line 588  BUILDING
                ``make'' will only be rebuilt as needed (when the source files                 ``make'' will only be rebuilt as needed (when the source files
                for make(1) change).                 for make(1) change).
   
      -U        Set the UNPRIVED variable.       -U        Set MKUNPRIVED=yes.
   
      -u        Set the UPDATE variable.       -u        Set MKUPDATE=yes.
   
      -V var=[value]       -V var=[value]
                Set the variable var to value (which is optional).                 Set the variable var to value (which is optional).
Line 630  EXAMPLES
Line 634  EXAMPLES
   
           Using unprivileged mode, build a complete release to DESTDIR and            Using unprivileged mode, build a complete release to DESTDIR and
           RELEASEDIR directories that build.sh selects (and will display).            RELEASEDIR directories that build.sh selects (and will display).
           UPDATE (-u) is set to prevent the ``make cleandir'', so that if this            MKUPDATE=yes (-u) is set to prevent the ``make cleandir'', so that
           is run after example 2, it doesn't need to redo that portion of the            if this is run after example 2, it doesn't need to redo that portion
           release build.            of the release build.
   
 OBSOLETE VARIABLES  OBSOLETE VARIABLES
      NBUILDJOBS  Use the make(1) option -j, instead.       NBUILDJOBS  Use the make(1) option -j, instead.
Line 651  HISTORY
Line 655  HISTORY
 BUGS  BUGS
      A few platforms are not yet using this build system.       A few platforms are not yet using this build system.
   
 NetBSD                           July 3, 2003                           NetBSD  NetBSD                           July 18, 2003                          NetBSD

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.39

CVSweb <webmaster@jp.NetBSD.org>