Home | History | Annotate | only in /src/distrib/pmax
History log of /src/distrib/pmax
RevisionDateAuthorComments
 1.6 23-Sep-2025  rillig all: fix "Invalid internal option" warning from make
 1.5 22-Jan-2012  tsutsui Add "live-image" and "install-image" target support to build.sh.

"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
 1.4 06-Mar-2007  bouyer branches: 1.4.12; 1.4.36;
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
 1.3 12-Apr-2002  lukem branches: 1.3.18;
.WAIT sync. add release target
 1.2 27-Feb-2001  cgd fix NetBSD RCS id tags
 1.1 05-Dec-1998  jonathan Make ramdisk and ne-tbootable ramdisk-based instkernel on pmax.
 1.3.18.1 09-Mar-2007  riz Pull up following revision(s) (requested by bouyer in ticket #494):
sys/arch/i386/conf/GENERIC.MP: revision 1.9
distrib/pc532/cdroms/installcd/Makefile: revision 1.1
distrib/macppc/Makefile: revision 1.15
distrib/ofppc/Makefile: revision 1.2
distrib/ibmnws/Makefile: revision 1.2
distrib/acorn32/Makefile: revision 1.18
distrib/x68k/cdroms/installcd/Makefile: revision 1.1
distrib/sparc/Makefile: revision 1.7
distrib/sparc64/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/Makefile: revision 1.1
distrib/hpcsh/Makefile: revision 1.6
distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/Makefile: revision 1.13
distrib/news68k/cdroms/installcd/Makefile: revision 1.1
distrib/amiga/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/cdroms/Makefile: revision 1.1
distrib/amiga/cdroms/Makefile: revision 1.1
etc/etc.mac68k/Makefile.inc: revision 1.18
distrib/shark/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/Makefile: revision 1.28
distrib/hpcmips/cdroms/Makefile: revision 1.1
distrib/amd64/floppies/Makefile: revision 1.3
sys/arch/amd64/conf/INSTALL_ACPI: file removal
distrib/i386/cdroms/Makefile: revision 1.4
distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
distrib/hpcsh/cdroms/Makefile: revision 1.1
distrib/prep/cdroms/Makefile: revision 1.1
distrib/pc532/Makefile: revision 1.4
distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
distrib/sun2/Makefile: revision 1.8
distrib/vax/Makefile: revision 1.17
distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/cdroms/Makefile: revision 1.1
distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
distrib/sun3/cdroms/installcd/Makefile: revision 1.1
distrib/vax/cdroms/installcd/Makefile: revision 1.1
distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
distrib/mvme68k/Makefile: revision 1.4
distrib/mvmeppc/cdroms/Makefile: revision 1.1
distrib/newsmips/Makefile: revision 1.4
sys/arch/i386/conf/GENERIC.MPACPI: file removal
distrib/hpcarm/cdroms/Makefile: revision 1.1
distrib/evbppc/cdroms/Makefile: revision 1.1
sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
distrib/i386/cdroms/installcd/Makefile: revision 1.2
distrib/i386/cdroms/installcd/Makefile: revision 1.3
doc/CHANGES: revision 1.804
distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.2
distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.3
distrib/evbarm/Makefile: revision 1.8
distrib/mvmeppc/Makefile: revision 1.3
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
distrib/macppc/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/cdroms/Makefile: revision 1.1
distrib/alpha/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/installcd/Makefile: revision 1.1
distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/Makefile: revision 1.2
distrib/pmppc/Makefile: revision 1.2
distrib/arc/cdroms/Makefile: revision 1.1
sys/arch/amd64/conf/INSTALL: revision 1.66
distrib/sun3/cdroms/Makefile: revision 1.1
distrib/mipsco/Makefile: revision 1.4
distrib/sun3/Makefile: revision 1.9
distrib/vax/cdroms/Makefile: revision 1.1
distrib/pmppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
distrib/atari/cdroms/installcd/Makefile: revision 1.1
distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/Makefile: revision 1.4
Makefile: revision 1.247
distrib/cats/cdroms/installcd/Makefile: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.130
sys/arch/amd64/conf/GENERIC: revision 1.131
distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/Makefile: revision 1.1
distrib/cats/cdroms/Makefile: revision 1.1
distrib/evbmips/Makefile: revision 1.3
distrib/evbmips/Makefile: revision 1.4
sys/arch/amd64/conf/GENERIC_ACPI: file removal
distrib/ews4800mips/Makefile: revision 1.2
distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/Makefile: revision 1.5
distrib/amd64/cdroms/installcd/Makefile: revision 1.2
distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/cdroms/installcd/Makefile: revision 1.1
etc/etc.amd64/Makefile.inc: revision 1.7
distrib/i386/instkernel/Makefile: revision 1.6
distrib/x68k/cdroms/Makefile: revision 1.1
distrib/i386/cdroms/Makefile.cdrom: revision 1.1
distrib/sandpoint/Makefile: revision 1.4
distrib/i386/cdroms/Makefile.cdrom: revision 1.2
distrib/amiga/Makefile: revision 1.3
distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
distrib/news68k/Makefile: revision 1.4
distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
distrib/news68k/cdroms/Makefile: revision 1.1
distrib/sparc/cdroms/Makefile: revision 1.1
distrib/shark/cdroms/Makefile: revision 1.1
etc/Makefile: revision 1.341
distrib/amd64/instkernel/Makefile: revision 1.2
distrib/sparc64/Makefile: revision 1.7
distrib/dreamcast/cdroms/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.3
distrib/ews4800mips/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/installcd/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.4
distrib/macppc/cdroms/Makefile: revision 1.1
distrib/mvme68k/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/Makefile: revision 1.1
distrib/hpcarm/Makefile: revision 1.3
distrib/arc/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
distrib/mipsco/cdroms/Makefile: revision 1.1
distrib/Makefile.inc: revision 1.9
distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/Makefile: revision 1.1
distrib/arc/Makefile: revision 1.3
distrib/sparc/cdroms/installcd/Makefile: revision 1.1
distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
distrib/prep/Makefile: revision 1.3
distrib/ibmnws/cdroms/Makefile: revision 1.1
distrib/sandpoint/cdroms/Makefile: revision 1.1
distrib/atari/Makefile: revision 1.6
distrib/sgimips/cdroms/Makefile: revision 1.1
distrib/amd64/Makefile: revision 1.4
distrib/atari/cdroms/Makefile: revision 1.1
distrib/x68k/Makefile: revision 1.5
distrib/x68k/Makefile: revision 1.6
distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
distrib/evbarm/cdroms/Makefile: revision 1.1
distrib/acorn32/cdroms/Makefile: revision 1.1
distrib/cats/Makefile: revision 1.3
distrib/evbmips/cdroms/Makefile: revision 1.1
distrib/pc532/cdroms/Makefile: revision 1.1
distrib/Makefile: revision 1.14
distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
distrib/ofppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile: revision 1.3
distrib/common/Makefile.bootcd: revision 1.8
distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
sys/arch/i386/conf/GENERIC: revision 1.813
distrib/hp300/Makefile: revision 1.17
sys/arch/i386/conf/GENERIC: revision 1.814
distrib/evbppc/Makefile: revision 1.2
distrib/pmax/cdroms/installcd/Makefile: revision 1.1
etc/etc.i386/Makefile.inc: revision 1.49
distrib/sgimips/Makefile: revision 1.2
distrib/prep/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/Makefile: revision 1.4
distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/Makefile: revision 1.22
distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
(for thoses who want to build el-torito floppy emulation boot CD) and use
INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
 1.4.36.1 17-Apr-2012  yamt sync with head
 1.4.12.1 05-Oct-2008  mjf Sync with HEAD.
 1.5 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.4 01-Jun-2000  matt branches: 1.4.2;
need bsd.own.mk
 1.3 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.2 27-Apr-1999  simonb Add a beforeinstall target to bomb out if RELEASEDIR isn't set.
There's probably a prettier way of doing this...
 1.1 05-Dec-1998  jonathan branches: 1.1.2;
Set VER and REL for miniroot.
 1.1.2.1 21-Oct-1999  he Pull up revision 1.2 (requested by simonb):
Bring pmax release building machinery up-to-date.
 1.4.2.1 25-Mar-2002  he Apply patch (requested by he):
Introduce dependency between ramdisk/miniroot construction and
osrelease.sh, to better support UPDATE builds of releases.
 1.1 06-Mar-2007  bouyer branches: 1.1.2; 1.1.14;
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
 1.1.14.1 05-Oct-2008  mjf Sync with HEAD.
 1.1.2.2 09-Mar-2007  riz Pull up following revision(s) (requested by bouyer in ticket #494):
sys/arch/i386/conf/GENERIC.MP: revision 1.9
distrib/pc532/cdroms/installcd/Makefile: revision 1.1
distrib/macppc/Makefile: revision 1.15
distrib/ofppc/Makefile: revision 1.2
distrib/ibmnws/Makefile: revision 1.2
distrib/acorn32/Makefile: revision 1.18
distrib/x68k/cdroms/installcd/Makefile: revision 1.1
distrib/sparc/Makefile: revision 1.7
distrib/sparc64/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/Makefile: revision 1.1
distrib/hpcsh/Makefile: revision 1.6
distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/Makefile: revision 1.13
distrib/news68k/cdroms/installcd/Makefile: revision 1.1
distrib/amiga/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/cdroms/Makefile: revision 1.1
distrib/amiga/cdroms/Makefile: revision 1.1
etc/etc.mac68k/Makefile.inc: revision 1.18
distrib/shark/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/Makefile: revision 1.28
distrib/hpcmips/cdroms/Makefile: revision 1.1
distrib/amd64/floppies/Makefile: revision 1.3
sys/arch/amd64/conf/INSTALL_ACPI: file removal
distrib/i386/cdroms/Makefile: revision 1.4
distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
distrib/hpcsh/cdroms/Makefile: revision 1.1
distrib/prep/cdroms/Makefile: revision 1.1
distrib/pc532/Makefile: revision 1.4
distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
distrib/sun2/Makefile: revision 1.8
distrib/vax/Makefile: revision 1.17
distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/cdroms/Makefile: revision 1.1
distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
distrib/sun3/cdroms/installcd/Makefile: revision 1.1
distrib/vax/cdroms/installcd/Makefile: revision 1.1
distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
distrib/mvme68k/Makefile: revision 1.4
distrib/mvmeppc/cdroms/Makefile: revision 1.1
distrib/newsmips/Makefile: revision 1.4
sys/arch/i386/conf/GENERIC.MPACPI: file removal
distrib/hpcarm/cdroms/Makefile: revision 1.1
distrib/evbppc/cdroms/Makefile: revision 1.1
sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
distrib/i386/cdroms/installcd/Makefile: revision 1.2
distrib/i386/cdroms/installcd/Makefile: revision 1.3
doc/CHANGES: revision 1.804
distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.2
distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.3
distrib/evbarm/Makefile: revision 1.8
distrib/mvmeppc/Makefile: revision 1.3
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
distrib/macppc/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/cdroms/Makefile: revision 1.1
distrib/alpha/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/installcd/Makefile: revision 1.1
distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/Makefile: revision 1.2
distrib/pmppc/Makefile: revision 1.2
distrib/arc/cdroms/Makefile: revision 1.1
sys/arch/amd64/conf/INSTALL: revision 1.66
distrib/sun3/cdroms/Makefile: revision 1.1
distrib/mipsco/Makefile: revision 1.4
distrib/sun3/Makefile: revision 1.9
distrib/vax/cdroms/Makefile: revision 1.1
distrib/pmppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
distrib/atari/cdroms/installcd/Makefile: revision 1.1
distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/Makefile: revision 1.4
Makefile: revision 1.247
distrib/cats/cdroms/installcd/Makefile: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.130
sys/arch/amd64/conf/GENERIC: revision 1.131
distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/Makefile: revision 1.1
distrib/cats/cdroms/Makefile: revision 1.1
distrib/evbmips/Makefile: revision 1.3
distrib/evbmips/Makefile: revision 1.4
sys/arch/amd64/conf/GENERIC_ACPI: file removal
distrib/ews4800mips/Makefile: revision 1.2
distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/Makefile: revision 1.5
distrib/amd64/cdroms/installcd/Makefile: revision 1.2
distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/cdroms/installcd/Makefile: revision 1.1
etc/etc.amd64/Makefile.inc: revision 1.7
distrib/i386/instkernel/Makefile: revision 1.6
distrib/x68k/cdroms/Makefile: revision 1.1
distrib/i386/cdroms/Makefile.cdrom: revision 1.1
distrib/sandpoint/Makefile: revision 1.4
distrib/i386/cdroms/Makefile.cdrom: revision 1.2
distrib/amiga/Makefile: revision 1.3
distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
distrib/news68k/Makefile: revision 1.4
distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
distrib/news68k/cdroms/Makefile: revision 1.1
distrib/sparc/cdroms/Makefile: revision 1.1
distrib/shark/cdroms/Makefile: revision 1.1
etc/Makefile: revision 1.341
distrib/amd64/instkernel/Makefile: revision 1.2
distrib/sparc64/Makefile: revision 1.7
distrib/dreamcast/cdroms/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.3
distrib/ews4800mips/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/installcd/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.4
distrib/macppc/cdroms/Makefile: revision 1.1
distrib/mvme68k/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/Makefile: revision 1.1
distrib/hpcarm/Makefile: revision 1.3
distrib/arc/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
distrib/mipsco/cdroms/Makefile: revision 1.1
distrib/Makefile.inc: revision 1.9
distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/Makefile: revision 1.1
distrib/arc/Makefile: revision 1.3
distrib/sparc/cdroms/installcd/Makefile: revision 1.1
distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
distrib/prep/Makefile: revision 1.3
distrib/ibmnws/cdroms/Makefile: revision 1.1
distrib/sandpoint/cdroms/Makefile: revision 1.1
distrib/atari/Makefile: revision 1.6
distrib/sgimips/cdroms/Makefile: revision 1.1
distrib/amd64/Makefile: revision 1.4
distrib/atari/cdroms/Makefile: revision 1.1
distrib/x68k/Makefile: revision 1.5
distrib/x68k/Makefile: revision 1.6
distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
distrib/evbarm/cdroms/Makefile: revision 1.1
distrib/acorn32/cdroms/Makefile: revision 1.1
distrib/cats/Makefile: revision 1.3
distrib/evbmips/cdroms/Makefile: revision 1.1
distrib/pc532/cdroms/Makefile: revision 1.1
distrib/Makefile: revision 1.14
distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
distrib/ofppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile: revision 1.3
distrib/common/Makefile.bootcd: revision 1.8
distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
sys/arch/i386/conf/GENERIC: revision 1.813
distrib/hp300/Makefile: revision 1.17
sys/arch/i386/conf/GENERIC: revision 1.814
distrib/evbppc/Makefile: revision 1.2
distrib/pmax/cdroms/installcd/Makefile: revision 1.1
etc/etc.i386/Makefile.inc: revision 1.49
distrib/sgimips/Makefile: revision 1.2
distrib/prep/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/Makefile: revision 1.4
distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/Makefile: revision 1.22
distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
(for thoses who want to build el-torito floppy emulation boot CD) and use
INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
 1.1.2.1 06-Mar-2007  riz file Makefile was added on branch netbsd-4 on 2007-03-09 06:59:28 +0000
 1.5 23-Sep-2019  christos Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
 1.4 28-Sep-2018  martin Now that we do not force debug sets off install CDs any more, explicitly
set CDRELEASE_NODEBUG everywhere.
 1.3 13-Dec-2013  mrg branches: 1.3.24; 1.3.26;
it's called netbsd-INSTALL64.gz for pmax64.
 1.2 15-Jan-2012  jmcneill branches: 1.2.6;
use ${CDIMAGE} instead of ${CDBASE}.iso
 1.1 06-Mar-2007  bouyer branches: 1.1.2; 1.1.14; 1.1.22; 1.1.30; 1.1.38; 1.1.40;
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
 1.1.40.1 08-Nov-2014  msaitoh Pullup follwing revisions to fix build break of ticket 1931 on some archs.

distrib/alpha/cdroms/installcd/Makefile 1.2
distrib/pmax/cdroms/installcd/Makefile 1.2
distrib/prep/cdroms/installcd/Makefile 1.3
distrib/sgimips/cdroms/installcd/Makefile 1.2
distrib/sparc/cdroms/installcd/Makefile 1.2
distrib/sparc64/cdroms/installcd/Makefile 1.14
distrib/sun3/cdroms/installcd/Makefile 1.2
distrib/vax/cdroms/installcd/Makefile 1.2

Use ${CDIMAGE} instead of ${CDBASE}.iso.
 1.1.38.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.38.1 17-Apr-2012  yamt sync with head
 1.1.30.1 08-Nov-2014  msaitoh Pullup follwing revisions to fix build break of ticket 1931 on some archs:

distrib/alpha/cdroms/installcd/Makefile 1.2
distrib/pmax/cdroms/installcd/Makefile 1.2
distrib/prep/cdroms/installcd/Makefile 1.3
distrib/sgimips/cdroms/installcd/Makefile 1.2
distrib/sparc/cdroms/installcd/Makefile 1.2
distrib/sparc64/cdroms/installcd/Makefile 1.14
distrib/sun3/cdroms/installcd/Makefile 1.2
distrib/vax/cdroms/installcd/Makefile 1.2

Use ${CDIMAGE} instead of ${CDBASE}.iso.
 1.1.22.1 08-Nov-2014  msaitoh Pullup follwoing revisons to fix build break of ticket 1931 on some archs:

distrib/alpha/cdroms/installcd/Makefile 1.2
distrib/pmax/cdroms/installcd/Makefile 1.2
distrib/prep/cdroms/installcd/Makefile 1.3
distrib/sgimips/cdroms/installcd/Makefile 1.2
distrib/sparc/cdroms/installcd/Makefile 1.2
distrib/sparc64/cdroms/installcd/Makefile 1.14
distrib/sun3/cdroms/installcd/Makefile 1.2
distrib/vax/cdroms/installcd/Makefile 1.2

Use ${CDIMAGE} instead of ${CDBASE}.iso.
 1.1.14.1 05-Oct-2008  mjf Sync with HEAD.
 1.1.2.2 09-Mar-2007  riz Pull up following revision(s) (requested by bouyer in ticket #494):
sys/arch/i386/conf/GENERIC.MP: revision 1.9
distrib/pc532/cdroms/installcd/Makefile: revision 1.1
distrib/macppc/Makefile: revision 1.15
distrib/ofppc/Makefile: revision 1.2
distrib/ibmnws/Makefile: revision 1.2
distrib/acorn32/Makefile: revision 1.18
distrib/x68k/cdroms/installcd/Makefile: revision 1.1
distrib/sparc/Makefile: revision 1.7
distrib/sparc64/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/Makefile: revision 1.1
distrib/hpcsh/Makefile: revision 1.6
distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/Makefile: revision 1.13
distrib/news68k/cdroms/installcd/Makefile: revision 1.1
distrib/amiga/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/cdroms/Makefile: revision 1.1
distrib/amiga/cdroms/Makefile: revision 1.1
etc/etc.mac68k/Makefile.inc: revision 1.18
distrib/shark/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/Makefile: revision 1.28
distrib/hpcmips/cdroms/Makefile: revision 1.1
distrib/amd64/floppies/Makefile: revision 1.3
sys/arch/amd64/conf/INSTALL_ACPI: file removal
distrib/i386/cdroms/Makefile: revision 1.4
distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
distrib/hpcsh/cdroms/Makefile: revision 1.1
distrib/prep/cdroms/Makefile: revision 1.1
distrib/pc532/Makefile: revision 1.4
distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
distrib/sun2/Makefile: revision 1.8
distrib/vax/Makefile: revision 1.17
distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/cdroms/Makefile: revision 1.1
distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
distrib/sun3/cdroms/installcd/Makefile: revision 1.1
distrib/vax/cdroms/installcd/Makefile: revision 1.1
distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
distrib/mvme68k/Makefile: revision 1.4
distrib/mvmeppc/cdroms/Makefile: revision 1.1
distrib/newsmips/Makefile: revision 1.4
sys/arch/i386/conf/GENERIC.MPACPI: file removal
distrib/hpcarm/cdroms/Makefile: revision 1.1
distrib/evbppc/cdroms/Makefile: revision 1.1
sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
distrib/i386/cdroms/installcd/Makefile: revision 1.2
distrib/i386/cdroms/installcd/Makefile: revision 1.3
doc/CHANGES: revision 1.804
distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.2
distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.3
distrib/evbarm/Makefile: revision 1.8
distrib/mvmeppc/Makefile: revision 1.3
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
distrib/macppc/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/cdroms/Makefile: revision 1.1
distrib/alpha/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/installcd/Makefile: revision 1.1
distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/Makefile: revision 1.2
distrib/pmppc/Makefile: revision 1.2
distrib/arc/cdroms/Makefile: revision 1.1
sys/arch/amd64/conf/INSTALL: revision 1.66
distrib/sun3/cdroms/Makefile: revision 1.1
distrib/mipsco/Makefile: revision 1.4
distrib/sun3/Makefile: revision 1.9
distrib/vax/cdroms/Makefile: revision 1.1
distrib/pmppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
distrib/atari/cdroms/installcd/Makefile: revision 1.1
distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/Makefile: revision 1.4
Makefile: revision 1.247
distrib/cats/cdroms/installcd/Makefile: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.130
sys/arch/amd64/conf/GENERIC: revision 1.131
distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/Makefile: revision 1.1
distrib/cats/cdroms/Makefile: revision 1.1
distrib/evbmips/Makefile: revision 1.3
distrib/evbmips/Makefile: revision 1.4
sys/arch/amd64/conf/GENERIC_ACPI: file removal
distrib/ews4800mips/Makefile: revision 1.2
distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/Makefile: revision 1.5
distrib/amd64/cdroms/installcd/Makefile: revision 1.2
distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/cdroms/installcd/Makefile: revision 1.1
etc/etc.amd64/Makefile.inc: revision 1.7
distrib/i386/instkernel/Makefile: revision 1.6
distrib/x68k/cdroms/Makefile: revision 1.1
distrib/i386/cdroms/Makefile.cdrom: revision 1.1
distrib/sandpoint/Makefile: revision 1.4
distrib/i386/cdroms/Makefile.cdrom: revision 1.2
distrib/amiga/Makefile: revision 1.3
distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
distrib/news68k/Makefile: revision 1.4
distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
distrib/news68k/cdroms/Makefile: revision 1.1
distrib/sparc/cdroms/Makefile: revision 1.1
distrib/shark/cdroms/Makefile: revision 1.1
etc/Makefile: revision 1.341
distrib/amd64/instkernel/Makefile: revision 1.2
distrib/sparc64/Makefile: revision 1.7
distrib/dreamcast/cdroms/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.3
distrib/ews4800mips/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/installcd/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.4
distrib/macppc/cdroms/Makefile: revision 1.1
distrib/mvme68k/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/Makefile: revision 1.1
distrib/hpcarm/Makefile: revision 1.3
distrib/arc/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
distrib/mipsco/cdroms/Makefile: revision 1.1
distrib/Makefile.inc: revision 1.9
distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/Makefile: revision 1.1
distrib/arc/Makefile: revision 1.3
distrib/sparc/cdroms/installcd/Makefile: revision 1.1
distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
distrib/prep/Makefile: revision 1.3
distrib/ibmnws/cdroms/Makefile: revision 1.1
distrib/sandpoint/cdroms/Makefile: revision 1.1
distrib/atari/Makefile: revision 1.6
distrib/sgimips/cdroms/Makefile: revision 1.1
distrib/amd64/Makefile: revision 1.4
distrib/atari/cdroms/Makefile: revision 1.1
distrib/x68k/Makefile: revision 1.5
distrib/x68k/Makefile: revision 1.6
distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
distrib/evbarm/cdroms/Makefile: revision 1.1
distrib/acorn32/cdroms/Makefile: revision 1.1
distrib/cats/Makefile: revision 1.3
distrib/evbmips/cdroms/Makefile: revision 1.1
distrib/pc532/cdroms/Makefile: revision 1.1
distrib/Makefile: revision 1.14
distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
distrib/ofppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile: revision 1.3
distrib/common/Makefile.bootcd: revision 1.8
distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
sys/arch/i386/conf/GENERIC: revision 1.813
distrib/hp300/Makefile: revision 1.17
sys/arch/i386/conf/GENERIC: revision 1.814
distrib/evbppc/Makefile: revision 1.2
distrib/pmax/cdroms/installcd/Makefile: revision 1.1
etc/etc.i386/Makefile.inc: revision 1.49
distrib/sgimips/Makefile: revision 1.2
distrib/prep/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/Makefile: revision 1.4
distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/Makefile: revision 1.22
distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
(for thoses who want to build el-torito floppy emulation boot CD) and use
INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
 1.1.2.1 06-Mar-2007  riz file Makefile was added on branch netbsd-4 on 2007-03-09 06:59:53 +0000
 1.2.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.26.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3.26.1 10-Jun-2019  christos Sync with HEAD
 1.3.24.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.46 27-Nov-2024  christos bump for ssp build
 1.45 26-Apr-2021  christos branches: 1.45.8;
handle mipsn64
 1.44 16-Aug-2020  mrg bump image from 3000k to 3.5M. thanks, time.
 1.43 07-Apr-2019  christos bump
 1.42 01-Apr-2019  christos need bigger clothes
 1.41 01-Jan-2019  christos Rename ELF2ECOFF -> MIPS_ELF2ECOFF
 1.40 22-Feb-2018  mrg branches: 1.40.2; 1.40.4;
bump image size for gcc 6 bloaty mc bloat face.
 1.39 25-Feb-2013  mhitch Bump size of image.
 1.38 14-Dec-2009  matt branches: 1.38.6; 1.38.12;
Merge from matt-nb5-mips64
 1.37 18-Jan-2009  he Bump the size of ramdisk and diskimages, so that what needs to
be put there still fits.
 1.36 16-Jan-2006  he branches: 1.36.20; 1.36.28; 1.36.30; 1.36.32;
Bump image size from 2m to 2100k so that it fits again.
 1.35 10-Jul-2003  lukem Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
 1.34 14-May-2002  lukem consistently use "${INSTALLBOOT} -v ..."
 1.33 08-May-2002  lukem - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
suffix handling here
- rework suffix handling:
- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
and change from list of suffixes to list of "suffix cmdtobuildsuffix",
where cmdtobuildsuffix is the name of the variable containing the
command to build ${filename}.${suffix} (available as "${.TARGET}").
- for each ${filename}.${suffix}, depend upon ${filename} and use
${cmdtobuildsuffix} to create the former.
- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
consistency and so the target to build the mdset kernel doesn't get
confused with general "install" target
 1.32 03-May-2002  lukem rather than blocking parallel mdset builds with .WAIT, replace usage of
"netbsd.tmp" with "${.TARGET:R}" (et al)
 1.31 03-May-2002  lukem provide common/mtree.dot (contains entry for ". type=dir ...") , and
use that rather than MTREE entry in the list, because Makefile.image
needs at least one mtree file anyway
 1.30 02-May-2002  lukem yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
 1.29 02-May-2002  simonb Use "boot.pmax" instead of just "boot" in IMAGEDEPENDS.
 1.28 26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.27 14-Apr-2002  lukem Makefile.mdset: add ${KERNELDEPS} variable which is ${KERNELS} with
.WAIT between the items, and remove .WAIT from ${KERNELS}.
Use ${KERNELDEPS} in make dependencies.
 1.26 14-Apr-2002  lukem - Rename Makefile.mdset variables:
MDEXTRA_SUFFIXES.${KERNEL} -> MDSET.${FILENAME}.suffixes
${KERNEL.${_K}}.post -> MDSET.${FILENAME}.post
This allows "default" rules for for MDSETTARGETS with FILENAMEs of "-"
by defined MDSET.-.post & MDSET.-.suffixes
- Document the above
- Use the above appropriately in various Makefiles
- Be a be quieter when building these kernels
- Add .WAIT syncs so that multiple kernels aren't built in parallel, because
the temporary filename is the same, and it also avoid hairy magic in
syncing the targets generated from MDSET.${FILENAME}.suffixes with
the master target for that ${FILENAME}
 1.25 12-Apr-2002  lukem - use Makefile.mdset to build md kernel and bootable image
- use ${RELINSTALL} instead of ${INSTALL} ...
 1.24 03-Apr-2002  lukem Switch from "${DESTDIR}/usr/mdec/installboot" to "${INSTALLBOOT} -m ${MACHINE}"
so now at least that step is cross-buildable.
 1.23 28-Mar-2002  lukem fix IMAGEDEPEND
 1.22 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.21 09-Feb-2002  lukem don't set the owner or group when installing into $RELEASEDIR
 1.20 22-Oct-2001  jmc Convert to using ${MDSETIMAGE}.

Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
 1.19 24-Mar-2001  simonb Add dummy dependall target, only install bootblocks once.
 1.18 10-Nov-2000  mhitch Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel. Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
 1.17 01-Jun-2000  matt branches: 1.17.2;
need bsd.own.mk for KERNOBJDIR
 1.16 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.15 06-Jan-2000  simonb Tidy up a little and make work.
Now uses like disktab files for disk labels.
 1.14 04-Jan-2000  simonb Split long line.
 1.13 03-Jan-2000  simonb s/boot/boot.pmax/
 1.12 28-Dec-1999  simonb Use the "echoimage" target.
Install the ecoff install kernel in the release directory.
 1.11 18-Oct-1999  simonb Remove diskimage.gz before trying to do gzip diskimage.
 1.10 06-May-1999  simonb branches: 1.10.2;
Add compressed image to CLEANFILES
 1.9 04-May-1999  simonb Add dummy depend targets so that "make depend" doesn't bomb out.
 1.8 27-Apr-1999  simonb Install install kernel as install.gz not netbsd.gz.
 1.7 27-Apr-1999  simonb Oops, install both the install kernel and diskimage.
 1.6 27-Apr-1999  simonb Add BINDIR and an install rule to install into ${RELEASEDIR}${BINDIR}.
 1.5 27-Apr-1999  simonb Gzip the diskimage.
 1.4 16-Apr-1999  simonb Fix incorrect pathname in previous.
 1.3 16-Apr-1999  simonb After building a ramdisk kernel, build a small (currently 2MB) diskimage
suitable for dd'ing onto the start of a disk.

Duplicates some of the work done by the miniroot Makefiles and will
cleaned up and made MI soon.
 1.2 05-Apr-1999  simonb Build an ELF kernel called netbsd instead of an a.out kernel called
netbsd.aout.
 1.1 05-Dec-1998  jonathan branches: 1.1.2;
Make ramdisk and ne-tbootable ramdisk-based instkernel on pmax.
 1.1.2.4 26-Sep-2000  he Pull up parts of revision 1.12 (via patch, requested by simonb):
Install the ecoff install kernel in the release directory.
 1.1.2.3 21-Oct-1999  he Pull up revisions 1.5-1.11 (requested by simonb):
Bring pmax release building machinery up-to-date.
 1.1.2.2 17-Apr-1999  simonb Pull up revs 1.3 and 1.4 from the trunk:
After building a ramdisk kernel, build a small (currently 2MB)
diskimage suitable for dd'ing onto the start of a disk.
 1.1.2.1 05-Apr-1999  simonb Pull up rev 1.2 from trunk.
 1.10.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.17.2.1 13-Nov-2000  tv Pullup 1.18 [mhitch]:
Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel. Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
 1.36.32.1 09-Sep-2009  matt Add support for pmax64 kernels.
 1.36.30.1 14-Feb-2010  bouyer Apply patch, requested by snj in ticket 1305:
distrib/pmax/instkernel/Makefile: patch
Bump the size of the pmax instkernel ramdisk to 2200k.
 1.36.28.1 14-Feb-2010  bouyer Apply patch, requested by snj in ticket 1305:
distrib/pmax/instkernel/Makefile: patch
Bump the size of the pmax instkernel ramdisk to 2200k.
 1.36.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.38.12.1 23-Jun-2013  tls resync from head
 1.38.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.40.4.1 10-Jun-2019  christos Sync with HEAD
 1.40.2.1 18-Jan-2019  pgoyette Synch with HEAD
 1.45.8.1 02-Aug-2025  perseant Sync with HEAD
 1.4 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.3 10-Nov-2000  mhitch Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel. Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
 1.2 17-Apr-1999  simonb branches: 1.2.8;
Disklabel prototype for a 2MB diskimage based on the ramdisk filesystem.
 1.1 16-Apr-1999  simonb branches: 1.1.2;
file diskimage.label.proto was initially added on branch netbsd-1-4.
 1.1.2.1 16-Apr-1999  simonb Disklabel prototype for a 2MB diskimage based on the ramdisk filesystem.
 1.2.8.1 13-Nov-2000  tv Pullup 1.3 [mhitch]:
Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel. Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
 1.3 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.2 10-Nov-2000  mhitch Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel. Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
 1.1 06-Jan-2000  simonb branches: 1.1.4;
Small disktab entries for the ramdisk and miniroot disk images.
 1.1.4.1 13-Nov-2000  tv Pullup 1.2 [mhitch]:
Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel. Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
 1.5 08-May-2002  lukem branches: 1.5.34;
- whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
suffix handling here
- rework suffix handling:
- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
and change from list of suffixes to list of "suffix cmdtobuildsuffix",
where cmdtobuildsuffix is the name of the variable containing the
command to build ${filename}.${suffix} (available as "${.TARGET}").
- for each ${filename}.${suffix}, depend upon ${filename} and use
${cmdtobuildsuffix} to create the former.
- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
consistency and so the target to build the mdset kernel doesn't get
confused with general "install" target
 1.4 03-May-2002  lukem provide common/mtree.dot (contains entry for ". type=dir ...") , and
use that rather than MTREE entry in the list, because Makefile.image
needs at least one mtree file anyway
 1.3 02-May-2002  simonb Add a "MTREE . type=dir" line to keep the distrib scripts happy.

Copy the install kernel from ${OBJDIR} - the script that does this
explicitly runs from the SRCDIR.
 1.2 14-Apr-2002  lukem - Rename Makefile.mdset variables:
MDEXTRA_SUFFIXES.${KERNEL} -> MDSET.${FILENAME}.suffixes
${KERNEL.${_K}}.post -> MDSET.${FILENAME}.post
This allows "default" rules for for MDSETTARGETS with FILENAMEs of "-"
by defined MDSET.-.post & MDSET.-.suffixes
- Document the above
- Use the above appropriately in various Makefiles
- Be a be quieter when building these kernels
- Add .WAIT syncs so that multiple kernels aren't built in parallel, because
the temporary filename is the same, and it also avoid hairy magic in
syncing the targets generated from MDSET.${FILENAME}.suffixes with
the master target for that ${FILENAME}
 1.1 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.5.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 14-Dec-2009  matt Merge from matt-nb5-mips64
 1.1 09-Sep-2009  matt branches: 1.1.2;
file list64 was initially added on branch matt-nb5-mips64.
 1.1.2.1 09-Sep-2009  matt pmax64 specific lists
 1.1 22-Jan-2012  tsutsui branches: 1.1.4;
Add "live-image" and "install-image" target support to build.sh.

"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
 1.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 22-Jan-2012  yamt file Makefile was added on branch yamt-pagecache on 2012-04-17 00:02:37 +0000
 1.4 15-Dec-2018  gson Use the special device name "ROOT." in /etc/fstab not just on the arm
images, but also on the bootable disk images of other ports, so that
they can be booted from differently named devices. Merge the i386 and
amd64 -live-sd0root and -live-wd0root images into a single live image
per port, bootable both from usb media and in qemu. Drop the -xx0root
suffixes from image names as they are no longer meaningful.
 1.3 03-Nov-2012  tsutsui branches: 1.3.30; 1.3.32;
Allow overriding live-image and install-image sizes by
INSTIMAGEMB (for install-images), USBIMAGEMB (for x86 sd0root liveimages),
and EMUIMAGEMB (for other liveimages) variables.
Per discussion on current-users@:
http://mail-index.NetBSD.org/current-users/2012/10/29/msg021368.html
 1.2 17-Aug-2012  riz branches: 1.2.2;
Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.

XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.

As discussed on current-users@ back in March, with some adjustments.
 1.1 22-Jan-2012  tsutsui branches: 1.1.2; 1.1.4;
Add "live-image" and "install-image" target support to build.sh.

"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
 1.1.4.4 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.3 30-Oct-2012  yamt sync with head
 1.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 22-Jan-2012  yamt file Makefile was added on branch yamt-pagecache on 2012-04-17 00:02:37 +0000
 1.1.2.1 17-Aug-2012  martin Pull up following revision(s) (requested by riz in ticket #506):
distrib/amd64/liveimage/emuimage/Makefile: revision 1.2
distrib/amd64/liveimage/usbimage/Makefile: revision 1.2
distrib/sun2/liveimage/emuimage/Makefile: revision 1.2
distrib/amd64/installimage/Makefile: revision 1.2
distrib/sun3/liveimage/emuimage/Makefile: revision 1.2
distrib/pmax/liveimage/emuimage/Makefile: revision 1.2
distrib/vax/liveimage/emuimage/Makefile: revision 1.2
distrib/sparc64/liveimage/emuimage/Makefile: revision 1.2
distrib/common/Makefile.bootcd: revision 1.20
distrib/i386/liveimage/emuimage/Makefile: revision 1.2
distrib/sparc/liveimage/emuimage/Makefile: revision 1.2
distrib/i386/installimage/Makefile: revision 1.2
distrib/i386/liveimage/usbimage/Makefile: revision 1.2
etc/Makefile: revision 1.398
Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.
XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.
As discussed on current-users@ back in March, with some adjustments.
Install fully-populated .iso images in ${RELEASEDIR}/images instead
of ${RELEASEDIR}/iso, since we'll be putting non-iso images in there too.
Install live images and install images into ${RELEASEDIR}/images by
default, to keep all the large files (such as ISOs) together.
 1.2.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.32.1 10-Jun-2019  christos Sync with HEAD
 1.3.30.1 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.26 26-Apr-2021  christos handle mipsn64
 1.25 24-Jan-2017  christos += for MAKEFS_FLAGS
 1.24 26-Oct-2012  tsutsui branches: 1.24.14; 1.24.18;
Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
 1.23 11-Feb-2010  roy branches: 1.23.6; 1.23.8; 1.23.12; 1.23.14;
Remove terminfo.db as it's now embedded in libterminfo.
 1.22 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.21 14-Dec-2009  matt Merge from matt-nb5-mips64
 1.20 21-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.19 21-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.18 29-Jul-2006  ad branches: 1.18.20; 1.18.34;
Remove RASTERCONSOLE support from the pmax port.
 1.17 10-Jul-2003  lukem Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
 1.16 18-Feb-2003  shin s/netbsd.aout/netbsd/
 1.15 18-Feb-2003  shin remove workaround for toolchain bug (already fixed).
 1.14 18-Feb-2003  shin toolchain problem (toolchain/16529) was fixed. build miniroot for pmax.
 1.13 23-Jul-2002  lukem disable pmax miniroot for now; it won't build due to objcopy-crunchide issues
 1.12 14-May-2002  lukem branches: 1.12.2;
consistently use "${INSTALLBOOT} -v ..."
 1.11 02-May-2002  lukem yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
 1.10 23-Apr-2002  tv The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").

Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy). So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".

This will be fixed in a more clean manner in the future.
 1.9 12-Apr-2002  lukem - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
 1.8 03-Apr-2002  lukem Switch from "${DESTDIR}/usr/mdec/installboot" to "${INSTALLBOOT} -m ${MACHINE}"
so now at least that step is cross-buildable.
 1.7 01-Apr-2002  lukem ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
 1.6 23-Mar-2002  shin fix IMAGEENDIAN (s/be/le/).
 1.5 06-Mar-2002  lukem Commit work-in-progess rototill of distrib/miniroot and associated machine
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!
 1.4 06-Jan-2000  simonb Match current reality, but not used at the moment.
 1.3 16-Apr-1999  simonb Define the disklabel prototype as a conditionally set variable so that
it can be overriden.
 1.2 15-Mar-1999  is branches: 1.2.2;
Add explicit filesystem endianness, to help cross-building releases.
 1.1 17-Nov-1998  jonathan branches: 1.1.2;
Make crunched equivalent of pmax root diskimage.
Makefile.inc: build `miniroot' [sic]
list: list of files to crunch in
dot.profile: start up sysinst on boot.
diskimage.label.proto: write diskimage label so kernel recomputes
label at boot from SCSI geometry..
 1.1.2.2 24-Nov-1998  cgd pull up rev 1.1 from trunk (new file). (simonb)
 1.1.2.1 17-Nov-1998  cgd file Makefile.inc was added on branch netbsd-1-3 on 1998-11-24 21:49:35 +0000
 1.2.2.1 17-Apr-1999  simonb Pull up rev 1.3 from the trunk:
Define the disklabel prototype as a conditionally set variable
so that it can be overriden.
 1.12.2.1 23-Jul-2002  lukem Pull up file removal (requested by lukem):
disable pmax miniroot for now; it won't build due to objcopy-crunchide issues
 1.18.34.1 09-Sep-2009  matt Add support for pmax64 kernels.
 1.18.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.23.14.1 25-Nov-2012  jdc Pull up revisions:
src/distrib/emips/miniroot/Makefile.inc revision 1.3
src/distrib/hp300/miniroot/Makefile.inc revision 1.13
src/distrib/hpcarm/miniroot/Makefile.inc revision 1.7
src/distrib/hpcmips/miniroot/Makefile.inc revision 1.20
src/distrib/hpcsh/miniroot/Makefile.inc revision 1.8
src/distrib/mvme68k/miniroot/Makefile.inc revision 1.13
src/distrib/pmax/miniroot/Makefile.inc revision 1.24
src/distrib/vax/miniroot/Makefile.inc revision 1.23
(requested by tsutsui in ticket #650).

Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
 1.23.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.23.8.1 18-Nov-2012  msaitoh Pull up following revision(s) (requested by tsutsui in ticket #650):
distrib/hpcmips/miniroot/Makefile.inc: revision 1.20
distrib/hpcsh/miniroot/Makefile.inc: revision 1.8
distrib/hp300/miniroot/Makefile.inc: revision 1.13
distrib/hpcarm/miniroot/Makefile.inc: revision 1.7
distrib/vax/miniroot/Makefile.inc: revision 1.23
distrib/mvme68k/miniroot/Makefile.inc: revision 1.13
distrib/emips/miniroot/Makefile.inc: revision 1.3
distrib/pmax/miniroot/Makefile.inc: revision 1.24
Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
 1.23.6.1 30-Oct-2012  yamt sync with head
 1.24.18.1 21-Apr-2017  bouyer Sync with HEAD
 1.24.14.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2 18-Feb-2003  shin toolchain problem (toolchain/16529) was fixed. build miniroot for pmax.
 1.1 23-Jul-2002  lukem branches: 1.1.2;
disable pmax miniroot for now; it won't build due to objcopy-crunchide issues
 1.1.2.2 23-Jul-2002  lukem Pull up revision 1.1 (requested by lukem):
disable pmax miniroot for now; it won't build due to objcopy-crunchide issues
 1.1.2.1 23-Jul-2002  lukem file Makefile.inc.xxx was added on branch netbsd-1-6 on 2002-07-23 11:24:09 +0000
 1.2 06-Mar-2002  lukem Commit work-in-progess rototill of distrib/miniroot and associated machine
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!
 1.1 17-Nov-1998  jonathan branches: 1.1.2;
Make crunched equivalent of pmax root diskimage.
Makefile.inc: build `miniroot' [sic]
list: list of files to crunch in
dot.profile: start up sysinst on boot.
diskimage.label.proto: write diskimage label so kernel recomputes
label at boot from SCSI geometry..
 1.1.2.2 24-Nov-1998  cgd pull up rev 1.1 from trunk (new file). (simonb)
 1.1.2.1 17-Nov-1998  cgd file diskimage.label.proto was added on branch netbsd-1-3 on 1998-11-24 21:49:35 +0000
 1.3 09-Jan-2020  martin PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.2 29-Jul-2006  ad branches: 1.2.20; 1.2.88; 1.2.90;
Remove RASTERCONSOLE support from the pmax port.
 1.1 17-Nov-1998  jonathan branches: 1.1.2;
Make crunched equivalent of pmax root diskimage.
Makefile.inc: build `miniroot' [sic]
list: list of files to crunch in
dot.profile: start up sysinst on boot.
diskimage.label.proto: write diskimage label so kernel recomputes
label at boot from SCSI geometry..
 1.1.2.2 24-Nov-1998  cgd pull up rev 1.1 from trunk (new file), then patch it to reflect some
1.3-branch peculiarities. (simonb)
 1.1.2.1 17-Nov-1998  cgd file dot.profile was added on branch netbsd-1-3 on 1998-11-24 21:50:46 +0000
 1.2.90.1 28-Jan-2020  msaitoh Pull up following revision(s) (requested by martin in ticket #669):
distrib/playstation2/miniroot/dot.profile: revision 1.5
distrib/sparc64/instfs/dot.profile: revision 1.8
distrib/hpcarm/miniroot/dot.profile: revision 1.3
distrib/emips/miniroot/dot.profile: revision 1.2
distrib/x68k/floppies/ramdisk/dot.profile: revision 1.16
distrib/zaurus/ramdisk/dot.profile: revision 1.4
distrib/i386/ramdisks/common/dot.profile: revision 1.7
distrib/cobalt/ramdisk/dot.profile: revision 1.2
distrib/hpcsh/miniroot/dot.profile: revision 1.5
distrib/evbarm/instkernel/ramdisk/dot.profile: revision 1.3
distrib/riscv/ramdisk/dot.profile: revision 1.2
distrib/sandpoint/ramdisk/dot.profile: revision 1.2
distrib/landisk/ramdisk/dot.profile: revision 1.3
distrib/amd64/ramdisks/common/dot.profile: revision 1.4
distrib/macppc/floppies/ramdisk/dot.profile: revision 1.14
distrib/mipsco/ramdisk/dot.profile: revision 1.3
distrib/evbmips/instkernel/ramdisk/dot.profile: revision 1.2
distrib/acorn32/ramdisk/dot.profile: revision 1.4
distrib/cats/ramdisk/dot.profile: revision 1.5
distrib/vax/ramdisk/dot.profile: revision 1.10
distrib/pmax/miniroot/dot.profile: revision 1.3
distrib/sparc/miniroot/dot.profile: revision 1.16
distrib/hpcmips/miniroot/dot.profile: revision 1.8
distrib/prep/floppies/ramdisk/dot.profile: revision 1.3
distrib/news68k/floppies/ramdisk/dot.profile: revision 1.8
distrib/alpha/instkernel/ramdisk/dot.profile: revision 1.11
distrib/ofppc/ramdisks/common/dot.profile: revision 1.2
distrib/mac68k/instkernel/ramdisk/dot.profile: revision 1.9
distrib/hp300/ramdisk/dot.profile: revision 1.7
distrib/ews4800mips/floppies/ramdisk/dot.profile: revision 1.2
distrib/emips/ramdisk/dot.profile: revision 1.3
distrib/newsmips/floppies/ramdisk/dot.profile: revision 1.7
distrib/bebox/ramdisk/dot.profile: revision 1.2
distrib/rs6000/ramdisk/dot.profile: revision 1.2
distrib/sgimips/miniroot/dot.profile: revision 1.2
distrib/mvme68k/miniroot/dot.profile: revision 1.9
distrib/hppa/ramdisk/dot.profile: revision 1.2
distrib/luna68k/ramdisk/dot.profile: revision 1.2
distrib/sgimips/ramdisk/dot.profile: revision 1.4
distrib/evbsh3/instkernel/ramdisk/dot.profile: revision 1.2
distrib/evbppc/ramdisk/dot.profile: revision 1.5
distrib/shark/instkernel/ramdisk/dot.profile: revision 1.5
distrib/pmax/ramdisk/dot.profile: revision 1.11
distrib/dreamcast/ramdisk/dot.profile: revision 1.3
distrib/arc/ramdisk/dot.profile: revision 1.5
distrib/atari/floppies/common/dot.profile: revision 1.8
PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.2.88.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.23 30-Nov-2013  nakayama nvi has moved.
 1.22 11-Feb-2010  roy branches: 1.22.6; 1.22.12;
Remove terminfo.db as it's now embedded in libterminfo.
 1.21 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.20 02-Jan-2010  tsutsui No need to install /usr/share/zoneinfo into miniroot
because libc functions in libhack doesn't require it and
zoneinfo files seem to get larger since tzcode2009k import.
(due to 64bit time_t support?)

Briefly tested sysinst on sparc miniroot.
 1.19 21-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.18 21-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.17 30-Oct-2008  tsutsui usr.bin/vi/build -> usr.bin/nvi/build
 1.16 29-Jul-2006  ad branches: 1.16.20;
Remove RASTERCONSOLE support from the pmax port.
 1.15 18-Feb-2003  shin s/netbsd.aout/netbsd/
 1.14 27-May-2002  lukem use usr/sbin/installboot not usr/mdec/installboot
 1.13 06-Mar-2002  lukem branches: 1.13.2;
Commit work-in-progess rototill of distrib/miniroot and associated machine
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!
 1.12 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.11 03-Jan-2000  simonb s/boot/boot.pmax/
 1.10 28-Dec-1999  simonb Add /usr/mdec/installboot.
 1.9 24-Nov-1999  simonb Remove update from the miniroot lists.
 1.8 05-Jun-1999  bouyer branches: 1.8.4;
Generate the /dist/obsolete_* files used by sysinst from the obsolete lists
in sets/lists/*. The sript sets/makeobsolete concatenates the mi and md
obsolete list files all or a specified set and dumps it in a file, in a
subdir specified on the command line (inspired from the maketar and makeflist
files).
Use this for all the sysinst-based installs.
Untested for non-i386, and the md obsolete list may be wrong or incomplete.
Each postmaster is supposed to check this on his port.
 1.7 16-Apr-1999  simonb Install second-stage bootblock.
 1.6 18-Nov-1998  simonb branches: 1.6.2; 1.6.4;
Undo previous after thinking about it a bit more. I did say it was only
a temporary change :)
 1.5 18-Nov-1998  simonb Add a symlink for /bin/tar. From the comments in the file:

# XXX temporary extra (for 1.3.X). We need "tar" in the path but not
# under /usr until we copy the contents of /usr.install into /usr.
# Maybe a better idea is to use pax, which lives in /bin anyway...
# Should go away soon in whatever will become 1.4.

Someone shoot me if I don't remove this soon ;>)
 1.4 18-Nov-1998  simonb Add the small netboot kernel (nfsnetbsd.ecoff).
Copy .profile to tmp/.hdprofile for sysinst.
 1.3 17-Nov-1998  jonathan Copy disktab profile to/etc for diskimage. (no ramdisk symlinks via /tmp).
 1.2 17-Nov-1998  jonathan Add the old-pmax-root usr.install/{bin,sbin} with same symlinks as /usr,
so that install from a miniroot image in / can find /usr/bin/{tar,ftp}
after mounting the target /usr over /usr.
 1.1 17-Nov-1998  jonathan Make crunched equivalent of pmax root diskimage.
Makefile.inc: build `miniroot' [sic]
list: list of files to crunch in
dot.profile: start up sysinst on boot.
diskimage.label.proto: write diskimage label so kernel recomputes
label at boot from SCSI geometry..
 1.6.4.1 17-Apr-1999  simonb Pull up rev 1.7 from the trunk:
Install second-stage bootblock.
 1.6.2.2 24-Nov-1998  cgd pull up revs 1.1-1.6 from trunk (new file). (simonb)
 1.6.2.1 18-Nov-1998  cgd file list was added on branch netbsd-1-3 on 1998-11-24 21:49:47 +0000
 1.8.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.13.2.1 28-May-2002  lukem Pull up revision 1.14 (requested by lukem):
use usr/sbin/installboot not usr/mdec/installboot
 1.16.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.22.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5 30-Nov-2013  nakayama nvi has moved.
 1.4 11-Feb-2010  roy branches: 1.4.6; 1.4.12;
Remove terminfo.db as it's now embedded in libterminfo.
 1.3 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.2 14-Dec-2009  matt Merge from matt-nb5-mips64
 1.1 09-Sep-2009  matt branches: 1.1.2;
file list64 was initially added on branch matt-nb5-mips64.
 1.1.2.1 09-Sep-2009  matt pmax64 specific lists
 1.4.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 29-Jul-2006  ad Remove RASTERCONSOLE support from the pmax port.
 1.3 24-May-1999  ad Merge long lost rcons-color entry.
 1.2 13-Mar-1999  itohy Use G0 (not G1) for the alternative character set (DEC line graphics).
Delete "\E)0" sequences and make ":as=\E(0:ae=\E(B:"
(some terminals use "1" for "0").
This change makes it easy to use 8-bit encodings, such as ISO8859, EUC, etc.
PR #7126.
 1.1 03-Nov-1997  jonathan branches: 1.1.2;
Installation termcap file with entries for rcons on pmax framebuffers.
 1.1.2.2 03-Nov-1997  jonathan Installation termcap file with entries for rcons on pmax framebuffers.
 1.1.2.1 03-Nov-1997  jonathan file termcap.rcons was added on branch netbsd-1-3 on 1997-11-03 10:57:03 +0000
 1.2 21-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.1 29-Jul-2006  ad branches: 1.1.20;
Remove RASTERCONSOLE support from the pmax port.
 1.1.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.56 27-Nov-2024  christos bump for ssp build
 1.55 26-Apr-2021  christos branches: 1.55.8;
handle mipsn64
 1.54 07-Sep-2020  mrg bump image size for pmax64 builds.
 1.53 29-Dec-2019  christos 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
and LDSTATIC used to be passed before) instead of appending them
to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
 1.52 26-Jun-2019  martin Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise)
 1.51 03-Apr-2019  christos Give us a bit of breathing room since the calculated size of mkfs is not
working.
 1.50 29-Mar-2019  christos Bumpity bump bump
 1.49 13-Feb-2019  gson Bump pmax install ramdisk size by another 100k, as 3500k is no longer
enough with GCC 7.
 1.48 16-Jul-2017  christos branches: 1.48.2; 1.48.6;
Give us a little room, too much potato chips.
 1.47 24-Jan-2017  christos += for MAKEFS_FLAGS
 1.46 14-Aug-2012  martin branches: 1.46.16; 1.46.20;
Change all install media to use ipty instead of pty0
 1.45 11-Feb-2010  roy branches: 1.45.6; 1.45.8;
Remove terminfo.db as it's now embedded in libterminfo.
 1.44 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.43 21-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.42 21-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.41 20-Sep-2009  abs ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
 1.40 20-Sep-2009  abs Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove)
 1.39 18-Jan-2009  he Bump the size of ramdisk and diskimages, so that what needs to
be put there still fits.
 1.38 30-Nov-2008  tsutsui Use shrinked src/distrib/common/protocols rather than fat src/etc/protocols.
 1.37 11-May-2007  dogcow branches: 1.37.12;
Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
 1.36 29-Jul-2006  ad Remove RASTERCONSOLE support from the pmax port.
 1.35 16-Jan-2006  tsutsui Use -mmemcpy.
 1.34 15-Oct-2004  he Increase the pmax ramdisk size with 100KB, so that the contents
fits again.
 1.33 09-Jun-2004  he Bump size of ramdisk image from 3148KB to 3200KB so that the contents
fits again.
 1.32 14-May-2004  he Expand the ramdisk image size from 3m to 3148k so that the contents
fits again.
 1.31 01-Feb-2003  tsutsui branches: 1.31.2;
Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.

BTW, should we also add "-mmemcpy" here to reduce code size?
 1.30 02-May-2002  lukem yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
 1.29 02-May-2002  simonb ${DISTRIBDIR} has changed; grab our rcons termcap relative to ${CURDIR}.
 1.28 26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.27 23-Apr-2002  tv The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").

Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy). So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".

This will be fixed in a more clean manner in the future.
 1.26 12-Apr-2002  lukem use ${IMAGETAR} support from Makefile.image
 1.25 12-Apr-2002  lukem use ${DISTRIBDIR} appropriately
 1.24 06-Apr-2002  tsutsui Set DBG=-Os for libhack.
 1.23 01-Apr-2002  lukem ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
 1.22 30-Mar-2002  lukem use libhack
 1.21 28-Mar-2002  lukem cosmetic reorg
 1.20 25-Mar-2002  lukem cosmetic tweaks
 1.19 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.18 09-Feb-2002  lukem don't set the owner or group when installing into $RELEASEDIR
 1.17 13-Oct-2001  jmc Add MTREE?= to add Makefiles and use when running mtree
 1.16 10-Oct-2001  enami Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts. Pointed out by chs@netbsd.org.
 1.15 24-Mar-2001  simonb Add dummy dependall target.
 1.14 01-Nov-2000  garbled Change all ocurrences of "crunchgen" to ${CRUNCHGEN}
 1.13 31-Aug-2000  jhawk Use
${MAKE}
instead of
make
 1.12 02-May-2000  sjg branches: 1.12.4;
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.11 06-Jan-2000  simonb Tidy up a little and make work.
Now uses like disktab files for disk labels.
 1.10 28-Dec-1999  simonb Don't do the disklabel dance - just newfs the vnode.
Add an "echoimage" target.
 1.9 11-May-1999  veego Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
 1.8 06-May-1999  simonb Tidy up "make clean", remove compressed tar file of diskimage.
 1.7 04-May-1999  simonb Oops, remove ".include <bsd.sys.mk>" added by mistake in previous commit.
 1.6 04-May-1999  simonb Add dummy depend targets so that "make depend" doesn't bomb out.
 1.5 27-Apr-1999  simonb Add BINDIR and an install rule to install into ${RELEASEDIR}${BINDIR}.
 1.4 27-Apr-1999  simonb Make the "all" target depend in the ramdisk image and not the crunched
binary.
 1.3 16-Apr-1999  simonb Build a tar file of the ramdisk.fs suitable for installing on an NFS
server for diskless installs on machines that can't netboot a kernel
with a full ramdisk.
 1.2 04-Mar-1999  wrstuden branches: 1.2.2;
Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
 1.1 28-Nov-1998  jonathan pmax installation ramdisk configuration.
 1.2.2.2 21-Oct-1999  he Pull up revisions 1.4-1.9 (requested by simonb):
Bring pmax release building machinery up-to-date.
(BTW, revision 1.3 was pulled up already, noted as 1.2.)
 1.2.2.1 17-Apr-1999  simonb Pull up rev 1.2 from the trunk:
Build a tar file of the ramdisk.fs suitable for installing on an
NFS server for diskless installs on machines that can't netboot
a kernel with a full ramdisk.
 1.12.4.1 25-Mar-2002  he Apply patch (requested by he):
Introduce dependency between ramdisk/miniroot construction and
osrelease.sh, to better support UPDATE builds of releases.
 1.31.2.1 20-May-2004  tron Pull up revision 1.32 (requested by he in ticket #353):
Expand the ramdisk image size from 3m to 3148k so that the contents
fits again.
 1.37.12.1 05-Oct-2008  mjf Sync with HEAD.
 1.45.8.1 15-Aug-2012  riz Pull up following revision(s) (requested by martin in ticket #500):
distrib/evbppc/ramdisk/Makefile: revision 1.16
distrib/emips/ramdisk/Makefile: revision 1.2
distrib/sandpoint/ramdisk/Makefile: revision 1.10
distrib/evbmips/instkernel/ramdisk/Makefile: revision 1.12
distrib/i386/ramdisks/ramdisk-rescuetiny/Makefile: revision 1.2
distrib/ibmnws/netboot/ramdisk/Makefile: revision 1.11
distrib/pmax/ramdisk/Makefile: revision 1.46
distrib/i386/ramdisks/ramdisk-tiny/Makefile: revision 1.2
just make the installation ptys (ipty); change it to opty if more needed.
Change all install media to use ipty instead of pty0
 1.45.6.1 30-Oct-2012  yamt sync with head
 1.46.20.1 21-Apr-2017  bouyer Sync with HEAD
 1.46.16.1 20-Mar-2017  pgoyette Sync with HEAD
 1.48.6.3 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.48.6.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.48.6.1 10-Jun-2019  christos Sync with HEAD
 1.48.2.2 16-Jul-2017  christos 287934
 1.48.2.1 16-Jul-2017  christos file Makefile was added on branch perseant-stdc-iso10646 on 2017-07-16 14:24:30 +0000
 1.55.8.1 02-Aug-2025  perseant Sync with HEAD
 1.3 21-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.2 19-Apr-2004  wiz branches: 1.2.26;
Spell removable with only two es. Inspired by jmc@openbsd.
 1.1 28-Nov-1998  jonathan pmax installation ramdisk configuration.
 1.2.26.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.1 06-Jan-2000  simonb Small disktab entries for the ramdisk and miniroot disk images.
 1.8 20-Sep-2009  abs Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove)
 1.7 29-Jul-2006  ad branches: 1.7.20;
Remove RASTERCONSOLE support from the pmax port.
 1.6 26-Jul-2003  salo netbsd.org->NetBSD.org
 1.5 14-Jun-2000  cgd sweep of my licenses (userland files w/o only my copyright) for
consistency. (no functional changes)
 1.4 14-Jun-2000  cgd fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.3 26-Jun-1999  cgd after checking and setting DONEPROFILE, export it so that children of the
shell (e.g. programs and shells invoked via sysinst) don't try to run
sysinst again. Fixes PR#7805.
 1.2 29-Mar-1999  simonb branches: 1.2.2;
Use TERM=rcons, not sun or pc3.
 1.1 28-Nov-1998  jonathan pmax installation ramdisk configuration.
 1.2.2.1 27-Jun-1999  cgd pull up rev 1.3 from trunk. (cgd)
 1.7.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.11 09-Jan-2020  martin PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.10 29-Jul-2006  ad branches: 1.10.20; 1.10.88; 1.10.90;
Remove RASTERCONSOLE support from the pmax port.
 1.9 26-Jul-2003  salo netbsd.org->NetBSD.org
 1.8 15-Jun-2000  cgd sweep of my licenses for consistency. (no functional changes) These
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.
 1.7 14-Jun-2000  cgd fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.6 21-Jan-2000  tsutsui rename (revert) memory disk filename /dev/mdX -> /dev/mdXa
 1.5 10-Jan-2000  tsutsui Fix root device name md0a -> md0
 1.4 23-Nov-1999  simonb Don't start update.
 1.3 26-Jun-1999  cgd branches: 1.3.4;
after checking and setting DONEPROFILE, export it so that children of the
shell (e.g. programs and shells invoked via sysinst) don't try to run
sysinst again. Fixes PR#7805.
 1.2 29-Mar-1999  simonb branches: 1.2.2;
Use TERM=rcons, not sun or pc3.
 1.1 28-Nov-1998  jonathan pmax installation ramdisk configuration.
 1.2.2.1 27-Jun-1999  cgd pull up rev 1.3 from trunk. (cgd)
 1.3.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.90.1 28-Jan-2020  msaitoh Pull up following revision(s) (requested by martin in ticket #669):
distrib/playstation2/miniroot/dot.profile: revision 1.5
distrib/sparc64/instfs/dot.profile: revision 1.8
distrib/hpcarm/miniroot/dot.profile: revision 1.3
distrib/emips/miniroot/dot.profile: revision 1.2
distrib/x68k/floppies/ramdisk/dot.profile: revision 1.16
distrib/zaurus/ramdisk/dot.profile: revision 1.4
distrib/i386/ramdisks/common/dot.profile: revision 1.7
distrib/cobalt/ramdisk/dot.profile: revision 1.2
distrib/hpcsh/miniroot/dot.profile: revision 1.5
distrib/evbarm/instkernel/ramdisk/dot.profile: revision 1.3
distrib/riscv/ramdisk/dot.profile: revision 1.2
distrib/sandpoint/ramdisk/dot.profile: revision 1.2
distrib/landisk/ramdisk/dot.profile: revision 1.3
distrib/amd64/ramdisks/common/dot.profile: revision 1.4
distrib/macppc/floppies/ramdisk/dot.profile: revision 1.14
distrib/mipsco/ramdisk/dot.profile: revision 1.3
distrib/evbmips/instkernel/ramdisk/dot.profile: revision 1.2
distrib/acorn32/ramdisk/dot.profile: revision 1.4
distrib/cats/ramdisk/dot.profile: revision 1.5
distrib/vax/ramdisk/dot.profile: revision 1.10
distrib/pmax/miniroot/dot.profile: revision 1.3
distrib/sparc/miniroot/dot.profile: revision 1.16
distrib/hpcmips/miniroot/dot.profile: revision 1.8
distrib/prep/floppies/ramdisk/dot.profile: revision 1.3
distrib/news68k/floppies/ramdisk/dot.profile: revision 1.8
distrib/alpha/instkernel/ramdisk/dot.profile: revision 1.11
distrib/ofppc/ramdisks/common/dot.profile: revision 1.2
distrib/mac68k/instkernel/ramdisk/dot.profile: revision 1.9
distrib/hp300/ramdisk/dot.profile: revision 1.7
distrib/ews4800mips/floppies/ramdisk/dot.profile: revision 1.2
distrib/emips/ramdisk/dot.profile: revision 1.3
distrib/newsmips/floppies/ramdisk/dot.profile: revision 1.7
distrib/bebox/ramdisk/dot.profile: revision 1.2
distrib/rs6000/ramdisk/dot.profile: revision 1.2
distrib/sgimips/miniroot/dot.profile: revision 1.2
distrib/mvme68k/miniroot/dot.profile: revision 1.9
distrib/hppa/ramdisk/dot.profile: revision 1.2
distrib/luna68k/ramdisk/dot.profile: revision 1.2
distrib/sgimips/ramdisk/dot.profile: revision 1.4
distrib/evbsh3/instkernel/ramdisk/dot.profile: revision 1.2
distrib/evbppc/ramdisk/dot.profile: revision 1.5
distrib/shark/instkernel/ramdisk/dot.profile: revision 1.5
distrib/pmax/ramdisk/dot.profile: revision 1.11
distrib/dreamcast/ramdisk/dot.profile: revision 1.3
distrib/arc/ramdisk/dot.profile: revision 1.5
distrib/atari/floppies/common/dot.profile: revision 1.8
PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.10.88.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.10.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.30 19-Jun-2011  tsutsui Remove unnecessary gnu/usr.bin path from SRCDIRS.
 1.29 19-Jun-2011  tsutsui Use src/distrib/utils/x_gzip in all install ramdisks/miniroots for now
since installation file systems might be flooded by -llzma.
 1.28 14-Jan-2011  tsutsui branches: 1.28.4;
Adjust file lists for recent move:
usr/sbin/chown -> sbin/chown
usr/bin/chgrp -> bin/chgrp
 1.27 11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.26 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.25 21-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.24 21-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.23 20-Sep-2009  abs ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
 1.22 20-Sep-2009  abs Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove)
 1.21 22-Apr-2009  tsutsui Put /usr/mdec/bootxx_ffsv2 into install ramdisk.
 1.20 30-Nov-2008  tsutsui branches: 1.20.2;
Use shrinked src/distrib/common/protocols rather than fat src/etc/protocols.
 1.19 06-May-2008  dyoung Add -lprop to the LIBS line so that ifconfig will link.
 1.18 11-May-2007  dogcow branches: 1.18.12; 1.18.14;
Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
 1.17 29-Jul-2006  ad Remove RASTERCONSOLE support from the pmax port.
 1.16 25-Dec-2003  martin Add -lz, now needed by gzip.
 1.15 27-May-2002  lukem use usr/sbin/installboot not usr/mdec/installboot
 1.14 02-May-2002  simonb branches: 1.14.2;
${DISTRIBDIR} has changed; grab our rcons termcap relative to ${CURDIR}.
 1.13 26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.12 13-Apr-2002  lukem link mount_mfs to newfs
 1.11 12-Apr-2002  lukem use ${DISTRIBDIR} appropriately
 1.10 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.9 07-Jun-2000  thorpej Need /etc/netconfig.
 1.8 06-Jan-2000  simonb Clean this up a little, use links instead of symlinks.
 1.7 03-Jan-2000  simonb Store new installboot-style bootblocks in ramdisk /usr/mdec.
 1.6 28-Dec-1999  simonb Add /usr/mdec/installboot.
 1.5 24-Nov-1999  simonb Remove update from the miniroot lists.
 1.4 05-Jun-1999  bouyer branches: 1.4.4;
Generate the /dist/obsolete_* files used by sysinst from the obsolete lists
in sets/lists/*. The sript sets/makeobsolete concatenates the mi and md
obsolete list files all or a specified set and dumps it in a file, in a
subdir specified on the command line (inspired from the maketar and makeflist
files).
Use this for all the sysinst-based installs.
Untested for non-i386, and the md obsolete list may be wrong or incomplete.
Each postmaster is supposed to check this on his port.
 1.3 23-May-1999  tron Fix listfiles to handle object directories. Patches supplied by
Izumi Tsutsui in PR misc/7628.
 1.2 05-Apr-1999  simonb Add pax, cpio.
Remove installboot.
Add ptys to MAKEDEV command line.
 1.1 28-Nov-1998  jonathan branches: 1.1.2;
pmax installation ramdisk configuration.
 1.1.2.1 05-Apr-1999  simonb Pull up rev 1.2 from trunk.
 1.4.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.14.2.1 28-May-2002  lukem Pull up revision 1.15 (requested by lukem):
use usr/sbin/installboot not usr/mdec/installboot
 1.18.14.1 18-May-2008  yamt sync with head.
 1.18.12.2 05-Oct-2008  mjf Sync with HEAD.
 1.18.12.1 02-Jun-2008  mjf Sync with HEAD.
 1.20.2.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.28.4.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.2 05-Jun-1999  bouyer Generate the /dist/obsolete_* files used by sysinst from the obsolete lists
in sets/lists/*. The sript sets/makeobsolete concatenates the mi and md
obsolete list files all or a specified set and dumps it in a file, in a
subdir specified on the command line (inspired from the maketar and makeflist
files).
Use this for all the sysinst-based installs.
Untested for non-i386, and the md obsolete list may be wrong or incomplete.
Each postmaster is supposed to check this on his port.
 1.1 28-Nov-1998  jonathan pmax installation ramdisk configuration.
 1.9 12-Mar-2002  lukem convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
 1.8 03-Feb-2000  itojun use x_ping for ping, remove reference to -lipsec.
(sorry if you have specific need for "real" ping)
 1.7 04-Jan-2000  simonb Add installboot.
 1.6 28-Dec-1999  simonb Add /usr/mdec/installboot.
 1.5 23-Nov-1999  simonb Remove update from all ramdisks.
 1.4 15-Nov-1999  mhitch A couple of more libraries needed by the ramdiskbin program.
 1.3 05-Apr-1999  simonb branches: 1.3.4;
Add cpio link to pax.
 1.2 21-Jan-1999  garbled branches: 1.2.2;
Use pax instead of tar on the ramdisk bins.. create appropriate link for
tar to get tar-like fonctionality.
 1.1 28-Nov-1998  jonathan pmax installation ramdisk configuration.
 1.2.2.1 05-Apr-1999  simonb Pull up rev 1.3 from trunk.
 1.3.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.

RSS XML Feed