[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.76 and 1.82.2.1

version 1.76, 2008/08/28 07:21:49 version 1.82.2.1, 2009/05/13 19:15:48
Line 114  CONFIGURATION
Line 114  CONFIGURATION
                        the value of .CURDIR.  Used only if MAKEOBJDIRPREFIX is                         the value of .CURDIR.  Used only if MAKEOBJDIRPREFIX is
                        not defined.  MAKEOBJDIR can be provided only in the                         not defined.  MAKEOBJDIR can be provided only in the
                        environment or via the -O flag of build.sh; it cannot                         environment or via the -O flag of build.sh; it cannot
                        usefully be set inside a Makefile.                         usefully be set inside a Makefile, including mk.conf or
                          ${MAKECONF}.
   
      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
Line 122  CONFIGURATION
Line 123  CONFIGURATION
                        .OBJDIR for the current directory.  The current direc-                         .OBJDIR for the current directory.  The current direc-
                        tory may be read only.  MAKEOBJDIRPREFIX can be pro-                         tory may be read only.  MAKEOBJDIRPREFIX can be pro-
                        vided only in the environment or via the -M flag of                         vided only in the environment or via the -M flag of
                        build.sh; it cannot usefully be set inside a Makefile.                         build.sh; it cannot usefully be set inside a Makefile,
                          including mk.conf or ${MAKECONF}.
   
    "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 165  CONFIGURATION
Line 167  CONFIGURATION
      MAKEVERBOSE       MAKEVERBOSE
                  Level of verbosity of status messages.  Supported values:                   Level of verbosity of status messages.  Supported values:
   
                  0    No descriptive messages are shown.                   0    No descriptive messages or commands executed by make(1)
                         are shown.
   
                  1    Descriptive messages are shown.                   1    Brief messages are shown describing what is being done,
                         but the actual commands executed by make(1) are not dis-
                         played.
   
                    2    Descriptive messages are shown as above (prefixed with a
                         `#'), and ordinary commands performed by make(1) are
                         displayed.
   
                    3    In addition to the above, all commands performed by
                         make(1) are displayed, even if they would ordinarily
                         have been hidden through use of the ``@'' prefix in the
                         relevant makefile.
   
                  2    Descriptive messages (prefixed with a `#') and command                   4    In addition to the above, commands executed by make(1)
                       output is not suppressed.                        are traced through use of the sh(1) ``-x'' flag.
   
                  Default: 2                   Default: 2
   
Line 193  CONFIGURATION
Line 207  CONFIGURATION
   
                  Default: ``yes''                   Default: ``yes''
   
        MKHTML      Can be set to ``yes'' or ``no''.  Indicates whether prefor-
                    matted HTML manual pages will be built and installed
   
                    Default: ``yes''
   
      MKHOSTOBJ   Can be set to ``yes'' or ``no''.  If set to ``yes'', then for       MKHOSTOBJ   Can be set to ``yes'' or ``no''.  If set to ``yes'', then for
                  programs intended to be run on the compile host, the name,                   programs intended to be run on the compile host, the name,
                  release, and architecture of the host operating system will                   release, and architecture of the host operating system will
Line 269  CONFIGURATION
Line 288  CONFIGURATION
   
                  Default: ``yes''                   Default: ``yes''
   
        MKSTRIPIDENT
                    Can be set to ``yes'' or ``no''.  Indicates whether program
                    binaries and shared libraries should be built to include RCS
                    IDs for use with ident(1).
   
                    Default: ``no''
   
        MKSUBPIXEL  Can be set to ``yes'' or ``no''.  For X builds, decides if
                    subpixel rendering code in FreeType is turned on.  Turned off
                    by default because of patent issues.
   
                    Default: ``no''
   
      MKTTINTERP  Can be set to ``yes'' or ``no''.  For X builds, decides if       MKTTINTERP  Can be set to ``yes'' or ``no''.  For X builds, decides if
                  the TrueType bytecode interpreter is turned on.  See                   the TrueType bytecode interpreter is turned on.  See
                  http://www.freetype.org/patents.html for details.                   http://www.freetype.org/patents.html for details.
Line 293  CONFIGURATION
Line 325  CONFIGURATION
   
                  Default: ``no''                   Default: ``no''
   
      MKX11       Can be set to ``yes'' or ``no''.  Indicates whether X11R6 is       MKX11       Can be set to ``yes'' or ``no''.  Indicates whether X11 is
                  built from X11SRCDIR.                   built from X11SRCDIR.
   
                  Mutually exclusive to MKXORG != no.  
   
                  Default: ``no''  
   
      MKXORG      Can be set to ``yes'' or ``no''.  Indicates whether X11R7  
                  (modular Xorg) is built from X11SRCDIR.  
   
                  Mutually exclusive to MKX11 != no.  
   
                  Default: ``no''                   Default: ``no''
   
      TOOLDIR     Directory to hold the host tools, once built.  If specified,       TOOLDIR     Directory to hold the host tools, once built.  If specified,
Line 346  CONFIGURATION
Line 369  CONFIGURATION
   
                  Default: ``/usr/xsrc''                   Default: ``/usr/xsrc''
   
        X11FLAVOUR  The style of X11 cross-built, set to either ``Xorg'' or
                    ``XFree86''.
   
                    Default: ``Xorg'' on amd64, i386, macppc, shark and sparc64
                    platforms, ``XFree86'' on everything else.
   
    "make" variables for full builds     "make" variables for full builds
      These variables only affect the top level ``Makefile'' and do not affect       These variables only affect the top level ``Makefile'' and do not affect
      manually building subtrees of the NetBSD source code.       manually building subtrees of the NetBSD source code.
Line 769  BUILDING
Line 798  BUILDING
                lute path before being used.  Unsets MAKEOBJDIRPREFIX.                 lute path before being used.  Unsets MAKEOBJDIRPREFIX.
   
                In normal use, exactly one of the -M or -O options should be                 In normal use, exactly one of the -M or -O options should be
                specified.  If the source directory is /usr/src and neither -M                 specified.  If neither -M nor -O is specified, then a default
                nor -O is specified, then a default object directory will be                 object directory will be chosen according to rules in
                chosen according to rules in <bsd.obj.mk>; this default is usu-                 <bsd.obj.mk>.  Relying on this default is not recommended
                ally either /usr/obj or /usr/obj.MACHINE.                 because it is determined by complex rules that are influenced
                  by the values of several variables and by the location of the
                  source directory.
   
      -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 835  BUILDING
Line 866  BUILDING
      with an absolute path.       with an absolute path.
   
 EXAMPLES  EXAMPLES
      1.   % ./build.sh tools kernel=GENERIC       1.   % ./build.sh [options] tools kernel=GENERIC
   
           Build a new toolchain, and use the new toolchain to configure and            Build a new toolchain, and use the new toolchain to configure and
           build a new GENERIC kernel.            build a new GENERIC kernel.
   
      2.   % ./build.sh -U distribution       2.   % ./build.sh [options] -U distribution
   
           Using unprivileged mode, build a complete distribution to a DESTDIR            Using unprivileged mode, build a complete distribution to a DESTDIR
           directory that build.sh selects (and will display).            directory that build.sh selects (and will display).
   
      3.   # ./build.sh -U install=/       3.   # ./build.sh [options] -U install=/
   
           As root, install to / the distribution that was built by example 2.            As root, install to / the distribution that was built by example 2.
           Even though this is run as root, -U is required so that the permis-            Even though this is run as root, -U is required so that the permis-
           sions stored in DESTDIR/METALOG are correctly applied to the files            sions stored in DESTDIR/METALOG are correctly applied to the files
           as they're copied to /.            as they're copied to /.
   
      4.   % ./build.sh -U -u release       4.   % ./build.sh [options] -U -u release
   
           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).
Line 875  HISTORY
Line 906  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
      USE_NEW_TOOLCHAIN, and re-worked to TOOLCHAIN_MISSING after that.       USE_NEW_TOOLCHAIN, and re-worked to TOOLCHAIN_MISSING after that.
   
 NetBSD                          August 18, 2008                         NetBSD  NetBSD                            May 1, 2009                           NetBSD

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.82.2.1

CVSweb <webmaster@jp.NetBSD.org>