Home | History | Annotate | Download | only in miniroot
History log of /src/distrib/sparc/miniroot/Makefile.inc
RevisionDateAuthorComments
 1.32  26-Mar-2022  christos grow (for llvm)
 1.31  29-Jan-2020  christos bump a little for llvm
 1.30  02-Aug-2019  joerg Bump sparc miniroot by 100KB for the clang-based build.
 1.29  29-Mar-2018  joerg branches: 1.29.2;
Bump image size again for new bloat.
 1.28  23-Jul-2017  joerg branches: 1.28.2;
Bump the miniroot size slightly for clang.
 1.27  09-Feb-2017  joerg Bump the ram disk and miniroot size slightly for clang.
 1.26  24-Jan-2017  christos += for MAKEFS_FLAGS
 1.25  10-Jan-2017  joerg branches: 1.25.2;
Bump image size a bit for the clang build.
 1.24  03-Jun-2016  joerg branches: 1.24.2;
Give Clang a bit more room in the miniroot.
 1.23  27-Feb-2016  joerg Bump miniroot size slightly from 9216KB to 9360KB for clang.
 1.22  27-Feb-2016  joerg For clang, optimize both ramdisk and miniroot for minimal size and skip
frame pointers where possible.
 1.21  04-Aug-2014  martin Bump miniroot size
 1.20  12-Aug-2013  joerg branches: 1.20.2;
Explicitly build space constrained ramdisk images without unwind tables.
 1.19  18-Aug-2012  mrg branches: 1.19.2;
add ipty to the list of MAKEDEVTARGETS. should fix PR#46812.
certainly makes the qemu/sparc install work for me with netbsd-6.

XXX: pullup.
 1.18  11-Feb-2010  roy branches: 1.18.6; 1.18.8;
Remove terminfo.db as it's now embedded in libterminfo.
 1.17  05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.16  17-Oct-2009  tsutsui Build miniroot binaries for sparc with -Os to shrink instfs.tgz
for the second boot floppy which use miniroot objects.

This is workaround for PR install/42146, and ok'ed by mrg@.
 1.15  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.14  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.13  01-Jun-2009  he The sparc miniroot actually doesn't use "file" anymore to distinguish
between a.out and ELF objects, so omit the now no-longer-present "magic"
file (deprecated after latest "file" update).
 1.12  13-Jun-2004  sjg branches: 1.12.26; 1.12.34; 1.12.40;
Bump the miniroot size else release build fails.
 1.11  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.10  29-May-2002  lukem don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.9  14-May-2002  lukem branches: 1.9.2;
consistently use "${INSTALLBOOT} -v ..."
 1.8  07-May-2002  pk Increase IMAGESIZE.
 1.7  07-May-2002  pk Use MI installboot(8) program in ${IMAGEPOSTBUILD}.
 1.6  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.5  26-Apr-2002  lukem use ${WORKDIR} instead of ${TARGETDIR}, since the latter is only valid
within parselist.
 1.4  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.3  10-Apr-2002  lukem use TARGETDIR instead of TARGDIR
 1.2  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.1  06-Mar-2002  lukem Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
host tool versions of installboot and any appropriate host disk labelling
tools.
XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
It should work, but it is extremely likely that the file system
parameters may need tweaking to get things to fit.
See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
If assistance is required, please ask!
 1.9.2.1  29-May-2002  lukem Pull up revision 1.10 (requested by lukem):
don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.12.40.1  21-Apr-2010  matt sync to netbsd-5
 1.12.34.1  23-Jan-2010  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1251):
sys/arch/sparc/sparc/auxreg.h: revision 1.13
distrib/sparc/ramdisk/dot.profile: revision 1.20
sys/arch/sparc/dev/audioamd.c: revision 1.25
sys/arch/sparc/dev/fd.c: revision 1.147
sys/arch/sparc/stand/common/promdev.c: revision 1.23
distrib/sparc/miniroot/Makefile.inc: revision 1.16
Build miniroot binaries for sparc with -Os to shrink instfs.tgz
for the second boot floppy which use miniroot objects.
This is workaround for PR install/42146, and ok'ed by mrg@.
Don't try to read disklabel to check FS_RAID on floppy boot since
reopening floppy could cause Data Access Exception later.
Fixes PR port-sparc/42186, ok'ed by mrg@.
Disable "fast trap" handlers which invoke software interrupts
in sparc/amd7930intr.s and sparc/bsd_fdintr.s until they are
rewritten to adapt new MI softint(9) API.
No particular comments on PR port-sparc/42192, but
this fixes timeout problem on floppy access on my SPARCstation 1+.
XXX: floppy support on sun4m seems to have another problem (data overrun).
Use /dev/fd0a rather than /dev/rfd0a to read instfs.tgz image from floppy.
It looks newer (appearred after 1.6) gzip tries to read less than DEV_BSIZE
(to check header?) so we can't use raw device directly.
(note sparc bootfs ramdisk doesn't have dd(1))
Workaround for PR port-sparc/42193, and would also fix PR install/28734.
Explicitly clear AUXIO4M_FTC bit in FTC_FLIP macro used on
pseudo-dma for floppy, as well as AUXIO4C_FTC bit for sun4c.
A comment in the macro says AUXIO4M_FTC bit is auto-clear,
but my two SS20s (including compatible) with 150MHz hyperSPARCs
get data_overrun without it, and no bad side effect on SS5
(works with and without this change).
Closes PR port-sparc/42516, which is the last one of a bunch of
floppy issue on NetBSD/sparc since NetBSD 2.0 days. See
http://mail-index.NetBSD.org/port-sparc/2009/12/20/msg000484.html
for details.
 1.12.26.1  05-Oct-2008  mjf Sync with HEAD.
 1.18.8.1  18-Aug-2012  riz Pull up following revision(s) (requested by martin in ticket #512):
distrib/sparc/miniroot/Makefile.inc: revision 1.19
etc/etc.vax/MAKEDEV.conf: revision 1.17
Seems like all the trendy ramdisks are using "makedev ipty" rather than
"makedev pty0" now. Update vax to match so install media doesn't fail
with
.../MAKEDEV: pty0: creating BSD style tty nodes with ptyfs is a security issue
add ipty to the list of MAKEDEVTARGETS. should fix PR#46812.
certainly makes the qemu/sparc install work for me with netbsd-6.
XXX: pullup.
 1.18.6.2  22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.18.6.1  30-Oct-2012  yamt sync with head
 1.19.2.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.2.1  10-Aug-2014  tls Rebase.
 1.24.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.25.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.28.2.1  30-Mar-2018  pgoyette Resolve conflicts between branch and HEAD
 1.29.2.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed