History log of /netbsd-current/distrib/pmax/ramdisk/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.55 25-Apr-2021 christos

handle mipsn64


# 1.54 07-Sep-2020 mrg

bump image size for pmax64 builds.


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 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)


Revision tags: netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
# 1.52 26-Jun-2019 martin

Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise)


Revision tags: phil-wifi-20190609
# 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.


Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.48 16-Jul-2017 christos

branches: 1.48.2; 1.48.6;
Give us a little room, too much potato chips.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 1.47 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
# 1.46 14-Aug-2012 martin

branches: 1.46.16; 1.46.20;
Change all install media to use ipty instead of pty0


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 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.


Revision tags: matt-premerge-20091211
# 1.43 20-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 20-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)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 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.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 1.37 10-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.)


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.36 29-Jul-2006 ad

Remove RASTERCONSOLE support from the pmax port.


# 1.35 16-Jan-2006 tsutsui

Use -mmemcpy.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 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.


Revision tags: netbsd-2-0-base
# 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?


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 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 29-Mar-2002 lukem

use libhack


# 1.21 28-Mar-2002 lukem

cosmetic reorg


# 1.20 24-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 30-Aug-2000 jhawk

Use
${MAKE}
instead of
make


Revision tags: netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 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.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 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.


Revision tags: netbsd-1-4-base
# 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 27-Nov-1998 jonathan

pmax installation ramdisk configuration.


# 1.54 07-Sep-2020 mrg

bump image size for pmax64 builds.


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 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)


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
# 1.52 26-Jun-2019 martin

Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise)


Revision tags: phil-wifi-20190609
# 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.


Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.48 16-Jul-2017 christos

branches: 1.48.2; 1.48.6;
Give us a little room, too much potato chips.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 1.47 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
# 1.46 14-Aug-2012 martin

branches: 1.46.16; 1.46.20;
Change all install media to use ipty instead of pty0


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 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.


Revision tags: matt-premerge-20091211
# 1.43 20-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 20-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)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 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.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 1.37 10-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.)


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.36 29-Jul-2006 ad

Remove RASTERCONSOLE support from the pmax port.


# 1.35 16-Jan-2006 tsutsui

Use -mmemcpy.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 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.


Revision tags: netbsd-2-0-base
# 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?


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 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 29-Mar-2002 lukem

use libhack


# 1.21 28-Mar-2002 lukem

cosmetic reorg


# 1.20 24-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 30-Aug-2000 jhawk

Use
${MAKE}
instead of
make


Revision tags: netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 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.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 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.


Revision tags: netbsd-1-4-base
# 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 27-Nov-1998 jonathan

pmax installation ramdisk configuration.


# 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)


Revision tags: netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
# 1.52 26-Jun-2019 martin

Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise)


Revision tags: phil-wifi-20190609
# 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.


Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.48 16-Jul-2017 christos

branches: 1.48.2; 1.48.6;
Give us a little room, too much potato chips.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 1.47 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
# 1.46 14-Aug-2012 martin

branches: 1.46.16; 1.46.20;
Change all install media to use ipty instead of pty0


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 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.


Revision tags: matt-premerge-20091211
# 1.43 20-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 20-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)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 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.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 1.37 10-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.)


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.36 29-Jul-2006 ad

Remove RASTERCONSOLE support from the pmax port.


# 1.35 16-Jan-2006 tsutsui

Use -mmemcpy.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 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.


Revision tags: netbsd-2-0-base
# 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?


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 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 29-Mar-2002 lukem

use libhack


# 1.21 28-Mar-2002 lukem

cosmetic reorg


# 1.20 24-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 30-Aug-2000 jhawk

Use
${MAKE}
instead of
make


Revision tags: netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 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.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 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.


Revision tags: netbsd-1-4-base
# 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 27-Nov-1998 jonathan

pmax installation ramdisk configuration.


# 1.52 26-Jun-2019 martin

Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise)


Revision tags: phil-wifi-20190609
# 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.


Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.48 16-Jul-2017 christos

branches: 1.48.2; 1.48.6;
Give us a little room, too much potato chips.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 1.47 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
# 1.46 14-Aug-2012 martin

branches: 1.46.16; 1.46.20;
Change all install media to use ipty instead of pty0


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 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.


Revision tags: matt-premerge-20091211
# 1.43 20-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 20-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)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 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.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 1.37 10-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.)


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.36 29-Jul-2006 ad

Remove RASTERCONSOLE support from the pmax port.


# 1.35 16-Jan-2006 tsutsui

Use -mmemcpy.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 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.


Revision tags: netbsd-2-0-base
# 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?


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 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 29-Mar-2002 lukem

use libhack


# 1.21 28-Mar-2002 lukem

cosmetic reorg


# 1.20 24-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 30-Aug-2000 jhawk

Use
${MAKE}
instead of
make


Revision tags: netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 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.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 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.


Revision tags: netbsd-1-4-base
# 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 27-Nov-1998 jonathan

pmax installation ramdisk configuration.


# 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.


Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.48 16-Jul-2017 christos

branches: 1.48.2;
Give us a little room, too much potato chips.


Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 1.47 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
# 1.46 14-Aug-2012 martin

branches: 1.46.16; 1.46.20;
Change all install media to use ipty instead of pty0


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 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.


Revision tags: matt-premerge-20091211
# 1.43 20-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 20-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)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 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.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 1.37 10-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.)


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.36 29-Jul-2006 ad

Remove RASTERCONSOLE support from the pmax port.


# 1.35 16-Jan-2006 tsutsui

Use -mmemcpy.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 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.


Revision tags: netbsd-2-0-base
# 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?


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 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 29-Mar-2002 lukem

use libhack


# 1.21 28-Mar-2002 lukem

cosmetic reorg


# 1.20 24-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 30-Aug-2000 jhawk

Use
${MAKE}
instead of
make


Revision tags: netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 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.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 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.


Revision tags: netbsd-1-4-base
# 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 27-Nov-1998 jonathan

pmax installation ramdisk configuration.


# 1.48 16-Jul-2017 christos

Give us a little room, too much potato chips.


Revision tags: netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 1.47 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
# 1.46 14-Aug-2012 martin

branches: 1.46.16; 1.46.20;
Change all install media to use ipty instead of pty0


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 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.


Revision tags: matt-premerge-20091211
# 1.43 20-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 20-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)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 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.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 1.37 10-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.)


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.36 29-Jul-2006 ad

Remove RASTERCONSOLE support from the pmax port.


# 1.35 16-Jan-2006 tsutsui

Use -mmemcpy.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 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.


Revision tags: netbsd-2-0-base
# 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?


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 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 29-Mar-2002 lukem

use libhack


# 1.21 28-Mar-2002 lukem

cosmetic reorg


# 1.20 24-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 30-Aug-2000 jhawk

Use
${MAKE}
instead of
make


Revision tags: netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 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.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 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.


Revision tags: netbsd-1-4-base
# 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 27-Nov-1998 jonathan

pmax installation ramdisk configuration.


# 1.47 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
# 1.46 14-Aug-2012 martin

Change all install media to use ipty instead of pty0


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 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.


Revision tags: matt-premerge-20091211
# 1.43 20-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 20-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)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 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.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 1.37 10-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.)


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.36 29-Jul-2006 ad

Remove RASTERCONSOLE support from the pmax port.


# 1.35 16-Jan-2006 tsutsui

Use -mmemcpy.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 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.


Revision tags: netbsd-2-0-base
# 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?


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 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 29-Mar-2002 lukem

use libhack


# 1.21 28-Mar-2002 lukem

cosmetic reorg


# 1.20 24-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 30-Aug-2000 jhawk

Use
${MAKE}
instead of
make


Revision tags: netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 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.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 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.


Revision tags: netbsd-1-4-base
# 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 27-Nov-1998 jonathan

pmax installation ramdisk configuration.


# 1.46 14-Aug-2012 martin

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 20-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 20-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 29-Nov-2008 tsutsui

Use shrinked src/distrib/common/protocols rather than fat src/etc/protocols.


# 1.37 10-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 31-Jan-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 11-Apr-2002 lukem

use ${IMAGETAR} support from Makefile.image


# 1.25 11-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 29-Mar-2002 lukem

use libhack


# 1.21 27-Mar-2002 lukem

cosmetic reorg


# 1.20 24-Mar-2002 lukem

cosmetic tweaks


# 1.19 11-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 09-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 30-Aug-2000 jhawk

Use
${MAKE}
instead of
make


# 1.12 01-May-2000 sjg

branches: 1.12.4;
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.


# 1.11 05-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 03-May-1999 simonb

Oops, remove ".include <bsd.sys.mk>" added by mistake in previous commit.


# 1.6 03-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 26-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 27-Nov-1998 jonathan

pmax installation ramdisk configuration.


# 1.2.2.2 20-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 24-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 14-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