History log of /netbsd-current/distrib/sun3/miniroot/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.50 18-Jun-2021 tsutsui

Replace RELEASE and VERSION strings proplery.

sun2 and sun3 don't use MI src/distrib/miniroot/list so this should
have been sync'ed with it.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36
>> Use proper release version strings ("9.1" rather than "91") in banners.
>>
>> Also define and use "MACHINE" variable to describe port names
>> (no uname(1) or sysctl(8) in miniroot binary list by default).

Should be pulled up to netbsd-9.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.49 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: phil-wifi-20191119
# 1.48 27-Oct-2019 christos

make this a bit bigger to prepare for gcc-8


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.47 28-Jul-2019 martin

Use the non-WIDE_CHAR version of libcurses from libhack, and also build
the included nvi w/o wide character support.


Revision tags: netbsd-8-2-RELEASE phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 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 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-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.46 24-Jan-2017 christos

branches: 1.46.12;
+= for MAKEFS_FLAGS


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.45 27-Aug-2014 christos

branches: 1.45.2; 1.45.4;
mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.


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 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 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.44 11-Feb-2010 roy

Remove terminfo.db as it's now embedded in libterminfo.


# 1.43 05-Feb-2010 roy

Use the rescue terminfo.db in our images instead of termcap.


Revision tags: matt-premerge-20091211
# 1.42 24-Sep-2009 he

Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap. Hi, abs@!


# 1.41 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.40 20-Sep-2009 abs

Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.39 25-Jan-2009 abs

Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions


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
# 1.38 25-Oct-2008 apb

Use ${TOOL_SED} instead if plain sed in Makefiles.


Revision tags: 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-base2 wrstuden-revivesa-base mjf-devfs2-base
# 1.37 29-Apr-2008 tsutsui

Fix (almost harmless) typo.


Revision tags: yamt-pf42-baseX yamt-pf42-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.36 24-Jun-2007 isaki

branches: 1.36.12; 1.36.14;
Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.


# 1.35 03-Mar-2007 apb

MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.


# 1.34 01-Mar-2007 apb

Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.


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.33 02-Aug-2006 tsutsui

Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.


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-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.32 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.31 02-Apr-2003 fvdl

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.


Revision tags: fvdl_fs64_base
# 1.30 28-May-2002 nathanw

Run installboot on the miniroot image, now that it is tested.


Revision tags: netbsd-1-6-base
# 1.29 18-May-2002 lukem

branches: 1.29.2;
fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
to sharing sun68k/stand)
- need full paths in list ${COPY} statements


# 1.28 17-May-2002 lukem

convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...


# 1.27 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.26 26-Apr-2002 lukem

replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version


# 1.25 26-Apr-2002 lukem

use gzip -9f


# 1.24 18-Apr-2002 bouyer

Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.


# 1.23 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.22 06-Mar-2002 lukem

replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc


# 1.21 09-Nov-2001 tsutsui

Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target.


# 1.20 13-Oct-2001 jmc

Add MTREE?= to add Makefiles and use when running mtree


# 1.19 13-Feb-2001 jmc

Up the size to 12M. Add an unconfig rule


Revision tags: netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.18 19-Jun-2000 tsutsui

branches: 1.18.2;
mkdir -p ${RELEASEDIR}/installation/miniroot on "make release".


# 1.17 10-Jun-2000 tsutsui

Pass ${DESTDIR} to RunList.sh.


# 1.16 09-Jun-2000 tsutsui

Use vnd rather than sd1b to make miniroot image.


Revision tags: minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.15 21-May-1999 gwr

Add a release target to automate building release snapshots.


# 1.14 16-May-1999 gwr

updates for the 1.4 release


# 1.13 22-Apr-1999 gwr

Put -B be in NEWFSARGS


Revision tags: netbsd-1-4-RELEASE netbsd-1-4-base
# 1.12 04-Mar-1999 wrstuden

branches: 1.12.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.11 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.10 29-May-1998 gwr

Use the INSTALL kernels.


# 1.9 17-Mar-1998 gwr

Add target all


# 1.8 12-Feb-1998 gwr

Put both netbsd.sun3 and netbsd.sun3x kernels in the miniroot image
so it will boot on both kinds of machines. (The boot program will
load the appropriate one).


# 1.7 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.6 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.5 12-Dec-1997 gwr

Use /dev/sd1b for now


Revision tags: netbsd-1-3-BETA netbsd-1-3-base
# 1.4 09-Oct-1996 jtc

branches: 1.4.2;
merge in 1.2 branch


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.3 21-Nov-1995 gwr

branches: 1.3.2; 1.3.6;
Ready for release


# 1.2 13-Oct-1995 gwr

branches: 1.2.2;
Minor cleanup


# 1.1 08-Oct-1995 gwr

branches: 1.1.1;
Initial revision


# 1.49 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: phil-wifi-20191119
# 1.48 27-Oct-2019 christos

make this a bit bigger to prepare for gcc-8


Revision tags: netbsd-9-0-RC1 netbsd-9-base
# 1.47 28-Jul-2019 martin

Use the non-WIDE_CHAR version of libcurses from libhack, and also build
the included nvi w/o wide character support.


Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 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 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-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.46 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.45 27-Aug-2014 christos

branches: 1.45.2; 1.45.4;
mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.


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 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 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.44 11-Feb-2010 roy

Remove terminfo.db as it's now embedded in libterminfo.


# 1.43 05-Feb-2010 roy

Use the rescue terminfo.db in our images instead of termcap.


Revision tags: matt-premerge-20091211
# 1.42 24-Sep-2009 he

Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap. Hi, abs@!


# 1.41 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.40 20-Sep-2009 abs

Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.39 25-Jan-2009 abs

Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions


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
# 1.38 25-Oct-2008 apb

Use ${TOOL_SED} instead if plain sed in Makefiles.


Revision tags: 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-base2 wrstuden-revivesa-base mjf-devfs2-base
# 1.37 29-Apr-2008 tsutsui

Fix (almost harmless) typo.


Revision tags: yamt-pf42-baseX yamt-pf42-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.36 24-Jun-2007 isaki

branches: 1.36.12; 1.36.14;
Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.


# 1.35 03-Mar-2007 apb

MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.


# 1.34 01-Mar-2007 apb

Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.


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.33 02-Aug-2006 tsutsui

Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.


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-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.32 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.31 02-Apr-2003 fvdl

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.


Revision tags: fvdl_fs64_base
# 1.30 28-May-2002 nathanw

Run installboot on the miniroot image, now that it is tested.


Revision tags: netbsd-1-6-base
# 1.29 18-May-2002 lukem

branches: 1.29.2;
fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
to sharing sun68k/stand)
- need full paths in list ${COPY} statements


# 1.28 17-May-2002 lukem

convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...


# 1.27 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.26 26-Apr-2002 lukem

replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version


# 1.25 26-Apr-2002 lukem

use gzip -9f


# 1.24 18-Apr-2002 bouyer

Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.


# 1.23 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.22 06-Mar-2002 lukem

replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc


# 1.21 09-Nov-2001 tsutsui

Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target.


# 1.20 13-Oct-2001 jmc

Add MTREE?= to add Makefiles and use when running mtree


# 1.19 13-Feb-2001 jmc

Up the size to 12M. Add an unconfig rule


Revision tags: netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.18 19-Jun-2000 tsutsui

branches: 1.18.2;
mkdir -p ${RELEASEDIR}/installation/miniroot on "make release".


# 1.17 10-Jun-2000 tsutsui

Pass ${DESTDIR} to RunList.sh.


# 1.16 09-Jun-2000 tsutsui

Use vnd rather than sd1b to make miniroot image.


Revision tags: minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.15 21-May-1999 gwr

Add a release target to automate building release snapshots.


# 1.14 16-May-1999 gwr

updates for the 1.4 release


# 1.13 22-Apr-1999 gwr

Put -B be in NEWFSARGS


Revision tags: netbsd-1-4-RELEASE netbsd-1-4-base
# 1.12 04-Mar-1999 wrstuden

branches: 1.12.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.11 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.10 29-May-1998 gwr

Use the INSTALL kernels.


# 1.9 17-Mar-1998 gwr

Add target all


# 1.8 12-Feb-1998 gwr

Put both netbsd.sun3 and netbsd.sun3x kernels in the miniroot image
so it will boot on both kinds of machines. (The boot program will
load the appropriate one).


# 1.7 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.6 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.5 12-Dec-1997 gwr

Use /dev/sd1b for now


Revision tags: netbsd-1-3-BETA netbsd-1-3-base
# 1.4 09-Oct-1996 jtc

branches: 1.4.2;
merge in 1.2 branch


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.3 21-Nov-1995 gwr

branches: 1.3.2; 1.3.6;
Ready for release


# 1.2 13-Oct-1995 gwr

branches: 1.2.2;
Minor cleanup


# 1.1 08-Oct-1995 gwr

branches: 1.1.1;
Initial revision


# 1.48 27-Oct-2019 christos

make this a bit bigger to prepare for gcc-8


Revision tags: netbsd-9-base
# 1.47 28-Jul-2019 martin

Use the non-WIDE_CHAR version of libcurses from libhack, and also build
the included nvi w/o wide character support.


Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 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 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-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.46 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.45 27-Aug-2014 christos

branches: 1.45.2; 1.45.4;
mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.


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 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 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.44 11-Feb-2010 roy

Remove terminfo.db as it's now embedded in libterminfo.


# 1.43 05-Feb-2010 roy

Use the rescue terminfo.db in our images instead of termcap.


Revision tags: matt-premerge-20091211
# 1.42 24-Sep-2009 he

Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap. Hi, abs@!


# 1.41 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.40 20-Sep-2009 abs

Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.39 25-Jan-2009 abs

Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions


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
# 1.38 25-Oct-2008 apb

Use ${TOOL_SED} instead if plain sed in Makefiles.


Revision tags: 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-base2 wrstuden-revivesa-base mjf-devfs2-base
# 1.37 29-Apr-2008 tsutsui

Fix (almost harmless) typo.


Revision tags: yamt-pf42-baseX yamt-pf42-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.36 24-Jun-2007 isaki

branches: 1.36.12; 1.36.14;
Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.


# 1.35 03-Mar-2007 apb

MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.


# 1.34 01-Mar-2007 apb

Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.


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.33 02-Aug-2006 tsutsui

Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.


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-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.32 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.31 02-Apr-2003 fvdl

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.


Revision tags: fvdl_fs64_base
# 1.30 28-May-2002 nathanw

Run installboot on the miniroot image, now that it is tested.


Revision tags: netbsd-1-6-base
# 1.29 18-May-2002 lukem

branches: 1.29.2;
fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
to sharing sun68k/stand)
- need full paths in list ${COPY} statements


# 1.28 17-May-2002 lukem

convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...


# 1.27 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.26 26-Apr-2002 lukem

replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version


# 1.25 26-Apr-2002 lukem

use gzip -9f


# 1.24 18-Apr-2002 bouyer

Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.


# 1.23 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.22 06-Mar-2002 lukem

replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc


# 1.21 09-Nov-2001 tsutsui

Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target.


# 1.20 13-Oct-2001 jmc

Add MTREE?= to add Makefiles and use when running mtree


# 1.19 13-Feb-2001 jmc

Up the size to 12M. Add an unconfig rule


Revision tags: netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.18 19-Jun-2000 tsutsui

branches: 1.18.2;
mkdir -p ${RELEASEDIR}/installation/miniroot on "make release".


# 1.17 10-Jun-2000 tsutsui

Pass ${DESTDIR} to RunList.sh.


# 1.16 09-Jun-2000 tsutsui

Use vnd rather than sd1b to make miniroot image.


Revision tags: minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.15 21-May-1999 gwr

Add a release target to automate building release snapshots.


# 1.14 16-May-1999 gwr

updates for the 1.4 release


# 1.13 22-Apr-1999 gwr

Put -B be in NEWFSARGS


Revision tags: netbsd-1-4-RELEASE netbsd-1-4-base
# 1.12 04-Mar-1999 wrstuden

branches: 1.12.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.11 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.10 29-May-1998 gwr

Use the INSTALL kernels.


# 1.9 17-Mar-1998 gwr

Add target all


# 1.8 12-Feb-1998 gwr

Put both netbsd.sun3 and netbsd.sun3x kernels in the miniroot image
so it will boot on both kinds of machines. (The boot program will
load the appropriate one).


# 1.7 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.6 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.5 12-Dec-1997 gwr

Use /dev/sd1b for now


Revision tags: netbsd-1-3-BETA netbsd-1-3-base
# 1.4 09-Oct-1996 jtc

branches: 1.4.2;
merge in 1.2 branch


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.3 21-Nov-1995 gwr

branches: 1.3.2; 1.3.6;
Ready for release


# 1.2 13-Oct-1995 gwr

branches: 1.2.2;
Minor cleanup


# 1.1 08-Oct-1995 gwr

branches: 1.1.1;
Initial revision


# 1.47 28-Jul-2019 martin

Use the non-WIDE_CHAR version of libcurses from libhack, and also build
the included nvi w/o wide character support.


Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 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 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-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.46 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.45 27-Aug-2014 christos

branches: 1.45.2; 1.45.4;
mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.


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 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 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.44 11-Feb-2010 roy

Remove terminfo.db as it's now embedded in libterminfo.


# 1.43 05-Feb-2010 roy

Use the rescue terminfo.db in our images instead of termcap.


Revision tags: matt-premerge-20091211
# 1.42 24-Sep-2009 he

Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap. Hi, abs@!


# 1.41 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.40 20-Sep-2009 abs

Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.39 25-Jan-2009 abs

Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions


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
# 1.38 25-Oct-2008 apb

Use ${TOOL_SED} instead if plain sed in Makefiles.


Revision tags: 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-base2 wrstuden-revivesa-base mjf-devfs2-base
# 1.37 29-Apr-2008 tsutsui

Fix (almost harmless) typo.


Revision tags: yamt-pf42-baseX yamt-pf42-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.36 24-Jun-2007 isaki

branches: 1.36.12; 1.36.14;
Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.


# 1.35 03-Mar-2007 apb

MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.


# 1.34 01-Mar-2007 apb

Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.


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.33 02-Aug-2006 tsutsui

Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.


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-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.32 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.31 02-Apr-2003 fvdl

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.


Revision tags: fvdl_fs64_base
# 1.30 28-May-2002 nathanw

Run installboot on the miniroot image, now that it is tested.


Revision tags: netbsd-1-6-base
# 1.29 18-May-2002 lukem

branches: 1.29.2;
fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
to sharing sun68k/stand)
- need full paths in list ${COPY} statements


# 1.28 17-May-2002 lukem

convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...


# 1.27 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.26 26-Apr-2002 lukem

replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version


# 1.25 26-Apr-2002 lukem

use gzip -9f


# 1.24 18-Apr-2002 bouyer

Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.


# 1.23 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.22 06-Mar-2002 lukem

replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc


# 1.21 09-Nov-2001 tsutsui

Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target.


# 1.20 13-Oct-2001 jmc

Add MTREE?= to add Makefiles and use when running mtree


# 1.19 13-Feb-2001 jmc

Up the size to 12M. Add an unconfig rule


Revision tags: netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.18 19-Jun-2000 tsutsui

branches: 1.18.2;
mkdir -p ${RELEASEDIR}/installation/miniroot on "make release".


# 1.17 10-Jun-2000 tsutsui

Pass ${DESTDIR} to RunList.sh.


# 1.16 09-Jun-2000 tsutsui

Use vnd rather than sd1b to make miniroot image.


Revision tags: minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.15 21-May-1999 gwr

Add a release target to automate building release snapshots.


# 1.14 16-May-1999 gwr

updates for the 1.4 release


# 1.13 22-Apr-1999 gwr

Put -B be in NEWFSARGS


Revision tags: netbsd-1-4-RELEASE netbsd-1-4-base
# 1.12 04-Mar-1999 wrstuden

branches: 1.12.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.11 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.10 29-May-1998 gwr

Use the INSTALL kernels.


# 1.9 17-Mar-1998 gwr

Add target all


# 1.8 12-Feb-1998 gwr

Put both netbsd.sun3 and netbsd.sun3x kernels in the miniroot image
so it will boot on both kinds of machines. (The boot program will
load the appropriate one).


# 1.7 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.6 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.5 12-Dec-1997 gwr

Use /dev/sd1b for now


Revision tags: netbsd-1-3-BETA netbsd-1-3-base
# 1.4 09-Oct-1996 jtc

branches: 1.4.2;
merge in 1.2 branch


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.3 21-Nov-1995 gwr

branches: 1.3.2; 1.3.6;
Ready for release


# 1.2 13-Oct-1995 gwr

branches: 1.2.2;
Minor cleanup


# 1.1 08-Oct-1995 gwr

branches: 1.1.1;
Initial revision


# 1.46 24-Jan-2017 christos

+= for MAKEFS_FLAGS


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.45 27-Aug-2014 christos

mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.


Revision tags: netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 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.44 11-Feb-2010 roy

Remove terminfo.db as it's now embedded in libterminfo.


# 1.43 05-Feb-2010 roy

Use the rescue terminfo.db in our images instead of termcap.


Revision tags: matt-premerge-20091211
# 1.42 24-Sep-2009 he

Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap. Hi, abs@!


# 1.41 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.40 20-Sep-2009 abs

Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.39 25-Jan-2009 abs

Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions


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
# 1.38 25-Oct-2008 apb

Use ${TOOL_SED} instead if plain sed in Makefiles.


Revision tags: 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-base2 wrstuden-revivesa-base mjf-devfs2-base
# 1.37 29-Apr-2008 tsutsui

Fix (almost harmless) typo.


Revision tags: yamt-pf42-baseX yamt-pf42-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.36 24-Jun-2007 isaki

branches: 1.36.12; 1.36.14;
Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.


# 1.35 03-Mar-2007 apb

MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.


# 1.34 01-Mar-2007 apb

Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.


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.33 02-Aug-2006 tsutsui

Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.


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-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.32 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.31 02-Apr-2003 fvdl

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.


Revision tags: fvdl_fs64_base
# 1.30 28-May-2002 nathanw

Run installboot on the miniroot image, now that it is tested.


Revision tags: netbsd-1-6-base
# 1.29 18-May-2002 lukem

branches: 1.29.2;
fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
to sharing sun68k/stand)
- need full paths in list ${COPY} statements


# 1.28 17-May-2002 lukem

convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...


# 1.27 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.26 26-Apr-2002 lukem

replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version


# 1.25 26-Apr-2002 lukem

use gzip -9f


# 1.24 18-Apr-2002 bouyer

Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.


# 1.23 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.22 06-Mar-2002 lukem

replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc


# 1.21 09-Nov-2001 tsutsui

Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target.


# 1.20 13-Oct-2001 jmc

Add MTREE?= to add Makefiles and use when running mtree


# 1.19 13-Feb-2001 jmc

Up the size to 12M. Add an unconfig rule


Revision tags: netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.18 19-Jun-2000 tsutsui

branches: 1.18.2;
mkdir -p ${RELEASEDIR}/installation/miniroot on "make release".


# 1.17 10-Jun-2000 tsutsui

Pass ${DESTDIR} to RunList.sh.


# 1.16 09-Jun-2000 tsutsui

Use vnd rather than sd1b to make miniroot image.


Revision tags: minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.15 21-May-1999 gwr

Add a release target to automate building release snapshots.


# 1.14 16-May-1999 gwr

updates for the 1.4 release


# 1.13 22-Apr-1999 gwr

Put -B be in NEWFSARGS


Revision tags: netbsd-1-4-RELEASE netbsd-1-4-base
# 1.12 04-Mar-1999 wrstuden

branches: 1.12.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.11 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.10 29-May-1998 gwr

Use the INSTALL kernels.


# 1.9 17-Mar-1998 gwr

Add target all


# 1.8 12-Feb-1998 gwr

Put both netbsd.sun3 and netbsd.sun3x kernels in the miniroot image
so it will boot on both kinds of machines. (The boot program will
load the appropriate one).


# 1.7 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.6 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.5 12-Dec-1997 gwr

Use /dev/sd1b for now


Revision tags: netbsd-1-3-BETA netbsd-1-3-base
# 1.4 09-Oct-1996 jtc

branches: 1.4.2;
merge in 1.2 branch


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.3 21-Nov-1995 gwr

branches: 1.3.2; 1.3.6;
Ready for release


# 1.2 13-Oct-1995 gwr

branches: 1.2.2;
Minor cleanup


# 1.1 08-Oct-1995 gwr

branches: 1.1.1;
Initial revision


# 1.45 26-Aug-2014 christos

mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.


# 1.44 11-Feb-2010 roy

Remove terminfo.db as it's now embedded in libterminfo.


# 1.43 05-Feb-2010 roy

Use the rescue terminfo.db in our images instead of termcap.


# 1.42 24-Sep-2009 he

Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap. Hi, abs@!


# 1.41 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.40 20-Sep-2009 abs

Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)


# 1.39 25-Jan-2009 abs

Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions


# 1.38 25-Oct-2008 apb

Use ${TOOL_SED} instead if plain sed in Makefiles.


# 1.37 29-Apr-2008 tsutsui

Fix (almost harmless) typo.


# 1.36 23-Jun-2007 isaki

branches: 1.36.12; 1.36.14;
Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.


# 1.35 02-Mar-2007 apb

MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.


# 1.34 01-Mar-2007 apb

Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.


# 1.33 02-Aug-2006 tsutsui

Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.


# 1.32 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.31 02-Apr-2003 fvdl

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.


# 1.30 28-May-2002 nathanw

Run installboot on the miniroot image, now that it is tested.


# 1.29 18-May-2002 lukem

branches: 1.29.2;
fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
to sharing sun68k/stand)
- need full paths in list ${COPY} statements


# 1.28 17-May-2002 lukem

convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...


# 1.27 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.26 26-Apr-2002 lukem

replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version


# 1.25 26-Apr-2002 lukem

use gzip -9f


# 1.24 18-Apr-2002 bouyer

Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.


# 1.23 11-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.22 06-Mar-2002 lukem

replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc


# 1.21 09-Nov-2001 tsutsui

Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target.


# 1.20 13-Oct-2001 jmc

Add MTREE?= to add Makefiles and use when running mtree


# 1.19 12-Feb-2001 jmc

Up the size to 12M. Add an unconfig rule


# 1.18 19-Jun-2000 tsutsui

branches: 1.18.2;
mkdir -p ${RELEASEDIR}/installation/miniroot on "make release".


# 1.17 09-Jun-2000 tsutsui

Pass ${DESTDIR} to RunList.sh.


# 1.16 09-Jun-2000 tsutsui

Use vnd rather than sd1b to make miniroot image.


# 1.15 20-May-1999 gwr

Add a release target to automate building release snapshots.


# 1.14 16-May-1999 gwr

updates for the 1.4 release


# 1.13 21-Apr-1999 gwr

Put -B be in NEWFSARGS


# 1.12 04-Mar-1999 wrstuden

branches: 1.12.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.11 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.10 29-May-1998 gwr

Use the INSTALL kernels.


# 1.9 17-Mar-1998 gwr

Add target all


# 1.8 12-Feb-1998 gwr

Put both netbsd.sun3 and netbsd.sun3x kernels in the miniroot image
so it will boot on both kinds of machines. (The boot program will
load the appropriate one).


# 1.7 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.6 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.5 11-Dec-1997 gwr

Use /dev/sd1b for now


# 1.4 08-Oct-1996 jtc

branches: 1.4.2;
merge in 1.2 branch


# 1.3 21-Nov-1995 gwr

branches: 1.3.2; 1.3.6;
Ready for release


# 1.2 12-Oct-1995 gwr

branches: 1.2.2;
Minor cleanup


# 1.1 08-Oct-1995 gwr

branches: 1.1.1;
Initial revision


# 1.1.1.1 08-Oct-1995 gwr

branches: 1.1.1.1.2;
Support for making sun3 installation media.


# 1.1.1.1.2.1 11-Oct-1995 gwr

Minor cleanup.


# 1.2.2.1 21-Nov-1995 gwr

From HEAD: Ready for release


# 1.3.6.1 28-Aug-1996 gwr

Build the edited "install.sub" here.


# 1.3.2.2 21-Nov-1995 gwr

Ready for release


# 1.3.2.1 21-Nov-1995 gwr

file Makefile was added on branch netbsd-1-1 on 1995-11-21 21:19:13 +0000


# 1.4.2.2 29-May-1998 mycroft

Pull up patch from gwr.


# 1.4.2.1 12-Dec-1997 gwr

Ready for 1.3_BETA


# 1.12.2.3 22-Jul-2000 he

Pull up revision 1.18 (requested by nathanw):
Fixes to release building machinery:
o make installation/miniroot directory


# 1.12.2.2 29-Feb-2000 he

Apply patch (requested by toddpw):
Convert sun3 miniroot/ramdisk build process to use vnd devices
instead of requiring a scratch partition on some local disk. Also
remove dependency on /etc/disktab entry. Support recursive
``depend'' makes (do nothing though).


# 1.12.2.1 20-Jun-1999 perry

pullup 1.12->1.15 (gwr)


# 1.18.2.1 21-Apr-2001 he

Pull up revision 1.19 (requested by he):
Bump the sun3 miniroot size from 10M to 12M, and add an
``unconfig'' rule.


# 1.29.2.1 28-May-2002 tv

Pull up revision 1.30 (requested by nathanw in ticket #51):
Run installboot on the miniroot image, now that it is tested.


# 1.36.14.1 18-May-2008 yamt

sync with head.


# 1.36.12.2 05-Oct-2008 mjf

Sync with HEAD.


# 1.36.12.1 02-Jun-2008 mjf

Sync with HEAD.