replace
TARGETS = KERNEL IMAGE [...]
with
MDTARGETS = KERNEL IMAGE FILENAME [...]
If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename
The rest:
Update for new MDTARGETS syntax. In some cases, the kernel
name from the "old" method will be used to override the default.
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.
dependent files:
- Use infrastructure from distrib/common to build file system images with
crunchgen-ed programs from a list file.
- Non root ("UNPRIVED") builds from a read-only source tree are possible,
as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
common/makedev2spec.awk, etc.
- Cross builds should be possible, except that some ports need cross-compile
host tool versions of installboot and any appropriate host disk labelling
tools.
XXX: pmax, sparc and vax need fixing for this!
- This code has NOT YET BEEN TESTED on most of the ports.
It should work, but it is extremely likely that the file system
parameters may need tweaking to get things to fit.
See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
If assistance is required, please ask!
(effect of) fixed a bug when it makes install image.
(reason for) We cannot apply to newfs no disklabel device, so must
write temporary disklabel. refer to i386.
files have copyright held by people in addition to myself. (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.) Their approval has been given re: the license
change.
- - Don't descend into miniroot. This permits "make clean" and "make obj"
from within /usr/src/distrib to succeed.
- - Don't strip the install kernel--I need this to boot.
- - Add release target, for use by "make release" in top level src dir.
- - Ramdisk now builds in "notes" dir before reaching into it.
- - Ramdisk unconfigures vnd when make is interrupted, by Ctl-C, for example.
It would be nice to unconfigure the vnd device if the make fails for any
reason, but I can't figure out how to do that.