Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/BUILDING,v rcsdiff: /ftp/cvs/cvsroot/src/BUILDING,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.116 retrieving revision 1.124 diff -u -p -r1.116 -r1.124 --- src/BUILDING 2014/11/16 05:45:43 1.116 +++ src/BUILDING 2017/02/20 21:28:48 1.124 @@ -1,7 +1,7 @@ BUILDING(8) System Manager's Manual BUILDING(8) NAME - BUILDING -- Procedure for building NetBSD from source code. + BUILDING - Procedure for building NetBSD from source code. REQUIREMENTS NetBSD is designed to be buildable on most POSIX-compliant host systems. @@ -77,8 +77,9 @@ FILES any of these directories are missing, they will be skipped during the build. - x11/ ``Reachover'' build structure for X11R6; the source is in - X11SRCDIR. + external/mit/xorg/ + ``Reachover'' build structure for modular Xorg; the source + is in X11SRCDIR. extsrc/ ``Reachover'' build structure for externally added programs and libraries; the source is in EXTSRCSRCDIR. @@ -348,7 +349,7 @@ CONFIGURATION statically linked. Default: Platform dependent. As of this writing, all - platforms except sh3 default to ``yes''. + platforms except m68000 default to ``yes''. MKPICINSTALL Can be set to ``yes'' or ``no''. Indicates whether the ar(1) @@ -365,11 +366,20 @@ CONFIGURATION by default at times due to toolchain problems with profiled code. - MKREPRO Can be set to ``yes'' or ``no''. Create reproducable builds. + MKREPRO Can be set to ``yes'' or ``no''. Create reproducible builds. This enables different switches to make two builds from the same source tree result in the same build results. - Default: ``no'' + Default: ``no'' This may be set to ``yes'' by giving build.sh + the -P option. + + MKREPRO_TIMESTAMP + Unix timestamp. When MKREPRO is set, the timestamp of all + files in the sets will be set to this value. + + Default: Unset. This may be set automatically to the latest + source tree timestamp using cvslatest(1) by giving build.sh + the -P option. MKSHARE Can be set to ``yes'' or ``no''. Indicates whether files destined to reside in DESTDIR/usr/share will be built and @@ -442,19 +452,13 @@ CONFIGURATION USETOOLS is also set to ``no'' when using outside the NetBSD source tree. - X11SRCDIR Directory containing the X11R6 source. If specified, must be - an absolute path. The main X11R6 source is found in - X11SRCDIR/xfree/xc. + X11SRCDIR Directory containing the modular Xorg source. If specified, + must be an absolute path. The main modular Xorg source is + found in X11SRCDIR/external/mit. Default: NETBSDRCDIR/../xsrc, if that exists; otherwise /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 These variables only affect the top level ``Makefile'' and do not affect manually building subtrees of the NetBSD source code. @@ -721,8 +725,7 @@ BUILDING must have been performed with MKUNPRIVED=yes because ``make install-image'' relies on information in DESTDIR/METALOG. - live-image Create NetBSD live images in the - RELEASEDIR/RELEASEMACHINEDIR/installation/liveimage + live-image Create NetBSD live images in the RELEASEDIR/images directory. The live image contains all necessary files to boot NetBSD up to multi-user mode, including all files which should be extracted during installation, NetBSD @@ -835,11 +838,6 @@ BUILDING symbol table and can be used for debugging (for example with a cross-gdb built by MKCROSSGDB). - mkernel=kconf - Build a new kernel in modular build. Similar to the above - kernel=kconf operation, but creates intermediate per-module - relocatable objects and link them to the final kernel. - kernels This command will build all kernels defined in port specific release build procedure. @@ -1113,4 +1111,4 @@ CAVEATS files in object directories. Instead, one may have to manually remove the files. Consult the UPDATING file for notices concerning this. -NetBSD August 7, 2014 NetBSD +NetBSD February 20, 2017 NetBSD