version 1.109, 2014/08/07 21:46:43 |
version 1.117, 2014/11/16 06:10:55 |
|
|
x11/ ``Reachover'' build structure for X11R6; the source is in |
x11/ ``Reachover'' build structure for X11R6; the source is in |
X11SRCDIR. |
X11SRCDIR. |
|
|
|
extsrc/ ``Reachover'' build structure for externally added |
|
programs and libraries; the source is in EXTSRCSRCDIR. |
|
|
Build tree layout |
Build tree layout |
The NetBSD build tree is described in hier(7), and the release layout is |
The NetBSD build tree is described in hier(7), and the release layout is |
described in release(7). |
described in release(7). |
|
|
Note: build.sh will provide a default of destdir.MACHINE (in |
Note: build.sh will provide a default of destdir.MACHINE (in |
the top-level .OBJDIR) unless run in `expert' mode. |
the top-level .OBJDIR) unless run in `expert' mode. |
|
|
|
EXTSRCSRCDIR |
|
Directory containing sources of externally added programs and |
|
libraries. If specified, must be an absolute path. |
|
|
|
Default: NETBSDRCDIR/../extsrc, if that exists; otherwise |
|
/usr/extsrc. |
|
|
MAKECONF The name of the make(1) configuration file. Only settable in |
MAKECONF The name of the make(1) configuration file. Only settable in |
the process environment. |
the process environment. |
|
|
|
|
|
|
Default: ``yes'' |
Default: ``yes'' |
|
|
|
MKEXTSRC Can be set to ``yes'' or ``no''. Indicates whether extsrc is |
|
built from EXTSRCSRCDIR. |
|
|
|
Default: ``no'' |
|
|
MKHTML Can be set to ``yes'' or ``no''. Indicates whether |
MKHTML Can be set to ``yes'' or ``no''. Indicates whether |
preformatted HTML manual pages will be built and installed |
preformatted HTML manual pages will be built and installed |
|
|
|
|
set (see above). |
set (see above). |
|
|
iso-image Create a NetBSD installation CD-ROM image in the |
iso-image Create a NetBSD installation CD-ROM image in the |
RELEASEDIR/iso directory. The CD-ROM file system will have |
RELEASEDIR/images directory. The CD-ROM file system will |
a layout as described in release(7). |
have a layout as described in release(7). |
|
|
For most machine types, the CD-ROM will be bootable, and |
For most machine types, the CD-ROM will be bootable, and |
will automatically run the sysinst(8) menu-based |
will automatically run the sysinst(8) menu-based |
|
|
the RELEASEDIR/RELEASEMACHINEDIR/installation/cdrom |
the RELEASEDIR/RELEASEMACHINEDIR/installation/cdrom |
directory by ``make release''. These smaller images |
directory by ``make release''. These smaller images |
usually contain the same tools as the larger images in |
usually contain the same tools as the larger images in |
RELEASEDIR/iso, but do not contain additional content such |
RELEASEDIR/images, but do not contain additional content |
as the distribution sets. |
such as the distribution sets. |
|
|
Note that the mac68k port still uses an older method of |
Note that the mac68k port still uses an older method of |
creating CD-ROM images. This requires the mkisofs(1) |
creating CD-ROM images. This requires the mkisofs(1) |
|
|
|
|
iso-image-source |
iso-image-source |
Create a NetBSD installation CD-ROM image in the |
Create a NetBSD installation CD-ROM image in the |
RELEASEDIR/iso directory. The CD-ROM file system will have |
RELEASEDIR/images directory. The CD-ROM file system will |
a layout as described in release(7). It will have top |
have a layout as described in release(7). It will have top |
level directories for the machine type and source. |
level directories for the machine type and source. |
|
|
For most machine types, the CD-ROM will be bootable, and |
For most machine types, the CD-ROM will be bootable, and |
|
|
the RELEASEDIR/RELEASEMACHINEDIR/installation/cdrom |
the RELEASEDIR/RELEASEMACHINEDIR/installation/cdrom |
directory by ``make release''. These smaller images |
directory by ``make release''. These smaller images |
usually contain the same tools as the larger images in |
usually contain the same tools as the larger images in |
RELEASEDIR/iso, but do not contain additional content such |
RELEASEDIR/images, but do not contain additional content |
as the distribution sets. |
such as the distribution sets. |
|
|
Note that the mac68k port still uses an older method of |
Note that the mac68k port still uses an older method of |
creating CD-ROM images. This requires the mkisofs(1) |
creating CD-ROM images. This requires the mkisofs(1) |
|
|
symbol table and can be used for debugging (for example |
symbol table and can be used for debugging (for example |
with a cross-gdb built by MKCROSSGDB). |
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. |
|
|
|
This command internally calls the kernel=kconf operation |
|
for each found kernel configuration file. |
|
|
|
mkernels Similar to the above kernels operation, but builds kernels |
|
in modular build. |
|
|
modules This command will build kernel modules and install them |
modules This command will build kernel modules and install them |
into DESTDIR. |
into DESTDIR. |
|
|
|
|
|
|
-x Set MKX11=yes. |
-x Set MKX11=yes. |
|
|
|
-Y extsrcdir |
|
Set the value of EXTSRCSRCDIR to extsrcdir. If a relative path |
|
is specified, it will be converted to an absolute path before |
|
being used. |
|
|
|
-y Set MKEXTSRC=yes. |
|
|
-Z var Unset ("zap") the environment variable var. This is propagated |
-Z var Unset ("zap") the environment variable var. This is propagated |
to the nbmake wrapper. |
to the nbmake wrapper. |
|
|