[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.72 and 1.73

version 1.72, 2008/08/05 19:43:33 version 1.73, 2008/08/05 22:40:33
Line 108  CONFIGURATION
Line 108  CONFIGURATION
   
      MAKEOBJDIR        Directory to use as the .OBJDIR for the current direc-       MAKEOBJDIR        Directory to use as the .OBJDIR for the current direc-
                        tory.  The value is subjected to variable expansion by                         tory.  The value is subjected to variable expansion by
                        make(1).  Used only if MAKEOBJDIRPREFIX is not defined.                         make(1).  Typical usage is to set this variable to a
                        MAKEOBJDIR can only be provided in the environment or                         value involving the use of `${.CURDIR:S...}' or
                        via the -O flag of build.sh.                         `${.CURDIR:C...}', to derive the value of .OBJDIR from
                          the value of .CURDIR.  Used only if MAKEOBJDIRPREFIX is
                          not defined.  MAKEOBJDIR can be provided only in the
                          environment or via the -O flag of build.sh; it cannot
                          usefully be set inside a Makefile.
   
      MAKEOBJDIRPREFIX  Top level directory of the object directory tree.  If       MAKEOBJDIRPREFIX  Top level directory of the object directory tree.  If
                        specified, must be an absolute path.  If this is                         specified, must be an absolute path.  If this is
                        defined, ${MAKEOBJDIRPREFIX}/${.CURDIR} is used as the                         defined, ${MAKEOBJDIRPREFIX}/${.CURDIR} is used as the
                        .OBJDIR for the current directory.  The current direc-                         .OBJDIR for the current directory.  The current direc-
                        tory may be read only.  MAKEOBJDIRPREFIX can only be                         tory may be read only.  MAKEOBJDIRPREFIX can be pro-
                        provided in the environment or via the -M flag of                         vided only in the environment or via the -M flag of
                        build.sh.                         build.sh; it cannot usefully be set inside a Makefile.
   
    "make" variables     "make" variables
      Several variables control the behavior of NetBSD builds.  Unless other-       Several variables control the behavior of NetBSD builds.  Unless other-
Line 704  BUILDING
Line 708  BUILDING
                failures with -j, please save complete build logs so the fail-                 failures with -j, please save complete build logs so the fail-
                ures can be analyzed.                 ures can be analyzed.
   
      -M obj    Set MAKEOBJDIRPREFIX to obj.  If a relative path is specified,       -M obj    Set MAKEOBJDIRPREFIX to obj.  For instance, if the source
                it will be converted to an absolute path before being used.                 directory is /usr/src, a setting of ``-M /usr/obj'' will place
                Unsets MAKEOBJDIR.                 build-time files under /usr/obj/usr/src/bin,
                  /usr/obj/usr/src/lib, /usr/obj/usr/src/usr.bin, and so forth.
                  If a relative path is specified, it will be converted to an
                  absolute path before being used.  Unsets MAKEOBJDIR.  See ``-O
                  -obj'' for more information.
   
      -m mach   Set the value of MACHINE to mach, except in some special cases       -m mach   Set the value of MACHINE to mach, except in some special cases
                listed below.  This will also override any value of                 listed below.  This will also override any value of
Line 742  BUILDING
Line 750  BUILDING
                -n''.                 -n''.
   
      -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.  If a relative path is                 place the built object files under obj.  For instance, a set-
                specified, it will be converted to an absolute path before                 ting of ``-O /usr/obj'' will place build-time files under
                being used.  For instance, a setting of /usr/obj will place                 /usr/obj/bin, /usr/obj/lib, /usr/obj/usr.bin, and so forth.  If
                build-time files under /usr/obj/bin, /usr/obj/lib,                 a relative path is specified, it will be converted to an abso-
                /usr/obj/usr.bin, and so forth.  Unsets MAKEOBJDIRPREFIX.                 lute path before being used.  Unsets MAKEOBJDIRPREFIX.
   
                  In normal use, exactly one of the -M or -O options should be
                  specified.  If the source directory is /usr/src and neither -M
                  nor -O is specified, then a default object directory will be
                  chosen according to rules in <bsd.obj.mk>; this default is usu-
                  ally either /usr/obj or /usr/obj.MACHINE.
   
      -o        Set the value of MKOBJDIRS to ``no''.  Otherwise, it will be       -o        Set the value of MKOBJDIRS to ``no''.  Otherwise, it will be
                automatically set to ``yes''.  This default is opposite to the                 automatically set to ``yes''.  This default is opposite to the
Line 852  HISTORY
Line 866  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                          August 5, 2008                          NetBSD

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

CVSweb <webmaster@jp.NetBSD.org>