Home | History | Annotate | Download | only in miniroot
History log of /src/distrib/sun2/miniroot/Makefile
RevisionDateAuthorComments
 1.40  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.
 1.39  01-Mar-2021  martin Drop wide char support to save space
 1.38  29-Dec-2019  christos 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
and LDSTATIC used to be passed before) instead of appending them
to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
flags.

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

(as proposed in tech-toolchain)
 1.37  18-Dec-2019  christos bump
 1.36  24-Jan-2017  christos branches: 1.36.4; 1.36.12; 1.36.14;
+= for MAKEFS_FLAGS
 1.35  27-Aug-2014  christos branches: 1.35.2; 1.35.4;
mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.
 1.34  12-Aug-2013  joerg Explicitly build space constrained ramdisk images without unwind tables.
 1.33  11-Feb-2010  roy branches: 1.33.6; 1.33.12;
Remove terminfo.db as it's now embedded in libterminfo.
 1.32  05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.31  09-Oct-2009  tsutsui Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBDIR}/common/termcap.
 1.30  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.29  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.28  25-Jan-2009  abs Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
 1.27  25-Oct-2008  apb Use ${TOOL_SED} instead if plain sed in Makefiles.
 1.26  29-Apr-2008  tsutsui Fix (currently harmless) typo.

I'm not sure why autobuild (amd64) gets ICE with -Os while it works on i386..
 1.25  24-Jun-2007  isaki branches: 1.25.12; 1.25.14;
Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.
 1.24  16-May-2007  tsutsui Use src/distrib/common/services so that miniroot fits in 4MB.
 1.23  15-May-2007  he Bump the miniroot size from 4M to 4300k so the contents fits again.
 1.22  20-Mar-2007  tsutsui Use crunched binary on sun2 miniroot so that miniroot is
now much smaller (18MB -> 4MB).
Installation is tested on TME (with a workaround for uvm_readahead.c bug).
 1.21  03-Mar-2007  apb MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.
 1.20  01-Mar-2007  apb Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.
 1.19  31-Jul-2006  he branches: 1.19.4;
Bump the miniroot size by 1MB to 18MB so that it fits again.
 1.18  14-Feb-2006  he Bump the miniroot size from 16m to 17m so that the contents fits again.
 1.17  05-Jun-2004  skrll Increase miniroot size to 16m.
 1.16  23-Feb-2004  he Bump miniroot size from 13M to 15M so that the contents fits again.
 1.15  13-Dec-2003  chs miniroot doesn't fit in 12MB anymore, make it 13.
remove fd0 from device list since it doesn't exist.
 1.14  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.13  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.12  14-May-2002  lukem consistently use "${INSTALLBOOT} -v ..."
 1.11  07-May-2002  jdolecek don't use ${OBJDIR}, using just 'install.sub' in IMAGEDEPENDS should work fine
add install.sub to CLEANFILES
 1.10  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.9  26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.8  26-Apr-2002  lukem Migrate to a distrib framework closer to how other ports work.
Arguably this could be moved to using the distrib/miniroot
infrastructure instead.

XXX: This could benefit from being crunchgen-ed with libhack;
currently it just uses a lot of stuff out of ${DESTDIR}
 1.7  26-Apr-2002  lukem - call ${INSTALLBOOT} with -m ${MACHINE}
- use check_RELEASEDIR
 1.6  22-Apr-2002  fredette Converted sun2 to the new distrib world order. It is now
possible to do full release unprivileged cross-builds.
 1.5  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.4  06-Mar-2002  lukem replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc
 1.3  17-Dec-2001  fredette Sync with the sun3 distrib code, and fixed many problems
to the point where this is truly useful for building
sun2 releases.
 1.2  13-Oct-2001  jmc Add MTREE?= to add Makefiles and use when running mtree
 1.1  18-May-2001  fredette Added sun2 distrib files.
 1.19.4.1  13-May-2007  pavel Pull up following revision(s) (requested by tsutsui in ticket #642):
distrib/sun2/miniroot/list: revision 1.5
distrib/sun2/miniroot/Makefile: revision 1.22
Use crunched binary on sun2 miniroot so that miniroot is
now much smaller (18MB -> 4MB).
Installation is tested on TME (with a workaround for uvm_readahead.c bug).
 1.25.14.1  18-May-2008  yamt sync with head.
 1.25.12.2  05-Oct-2008  mjf Sync with HEAD.
 1.25.12.1  02-Jun-2008  mjf Sync with HEAD.
 1.33.12.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.33.6.1  22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.35.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.35.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.36.14.1  25-Jun-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1310):

distrib/sun3/miniroot/Makefile: revision 1.50
distrib/miniroot/install.sub: revision 1.61
distrib/miniroot/install.sub: revision 1.62
distrib/sun2/miniroot/Makefile: revision 1.40

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.

Remove netstat(1) calls to print resolver info on upgrade using miniroot.
netstat(1) was removed from miniroot 25 years ago.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5

The modules and rescue sets are also required on upgrade.
Should be pulled up to netbsd-9 and netbsd-8.
 1.36.12.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.36.4.1  25-Jun-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1686):

distrib/sun3/miniroot/Makefile: revision 1.50
distrib/miniroot/install.sub: revision 1.61
distrib/miniroot/install.sub: revision 1.62 (patch)
distrib/sun2/miniroot/Makefile: revision 1.40

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.

Remove netstat(1) calls to print resolver info on upgrade using miniroot.
netstat(1) was removed from miniroot 25 years ago.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5

The modules and rescue sets are also required on upgrade.
Should be pulled up to netbsd-9 and netbsd-8.

RSS XML Feed