Commit Graph

12 Commits

Author SHA1 Message Date
thorpej 44f4566e1a Change the way kernel sets are specified, and make them
more consistent.  To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port.  A port may
# specify the following kernels:
#
#       KERNEL_SETS             The list of kernels that will be
#                               packaged into sets, named
#                               kern-${kernel}.tgz.  These kernels
#                               are also placed in the binary/kernels
#                               area of the release package as
#                               netbsd-${kernel}.gz.
#
#       EXTRA_KERNELS           Additional kernels to place in the
#                               binary/kernels area of the release
#                               package as netbsd-${kernel}.gz, but
#                               which are not placed into sets. This
#                               allows a port to provide e.g. a netbootable
#                               installation kernel containing a ramdisk.
#
#       BUILD_KERNELS           Additional kernels to build which are
#                               not placed into sets nor into the
#                               binary/kernels area of the release
#                               package.  These are typically kernels
#                               that are built for inclusion only in
#                               installation disk/CD-ROM/tape images.
#
2001-11-29 22:45:53 +00:00
he 9593d5023f Also build and install installation notes under "make release"
(actually snap_md_post).
2001-04-21 17:43:24 +00:00
mycroft a59987f569 Let the main Makefile deal with building kernels. 2000-02-20 03:52:22 +00:00
gwr 93720b922f Define our own snap_kern target that builds all the kernels, but
does not install the un-patched ramdisk kernels.  The snap_md_post
target builds the installation ramdisk image, patches that into the
ramdisk kernels, and installs them.  Also the miniroot.
Automated snapshot build works now.
1999-05-21 04:02:02 +00:00
cjs 7d1e96cc2f Update all this crap so that `make snapshot' makes snapshots in release(7)
format, rather than in some unknown format. Also clean up the code a bit,
remove some code duplication, and add documentation to the Makefile.
1999-02-05 03:01:49 +00:00
itohy 03cde6e019 Use "${MAKE}" instead of "make" for cross compilation. 1998-10-09 10:40:59 +00:00
fair 75f8e74b32 These commits do two things:
1. Provide a consistent and extensible framework for compiling
kernels for the "make snapshot" target.

2. Add OBJDIR support for the "make snapshot" target, in the form
of three new make variables: KERNOBJDIR, KERNSRCDIR, and KERNCONFDIR.
Default values are in the Makefile.inc, and for OBJDIR they should
be defined in /etc/mk.conf as

	KERNSRCDIR=${BSDSRCDIR}/sys
	KERNOBJDIR=${BSDOBJDIR}/sys/arch/${MACHINE}/compile

The next step is to make a new target in the src/etc/Makefile for "release"
(or something like that) to make release(7) format files.
1998-06-28 09:38:40 +00:00
fair b2a68fe9de OBJDIR support for "make snapshot" 1998-06-25 17:54:05 +00:00
gwr 1a78005b10 Build both sun3 and sun3x kernels 1998-02-11 19:19:53 +00:00
gwr 07534ce1f9 Add BIN3+=etc.sun3/ttyaction 1997-12-20 01:56:51 +00:00
mikel 3e3f02a092 don't try to copy nonexistent README, & RCSid police 1997-09-20 03:05:39 +00:00
gwr d55fe8955f Include kernels GENERIC, DISKLESS in binary snapshots. 1995-07-07 16:05:20 +00:00