Home | History | Annotate | Download | only in ramdisk
History log of /src/distrib/pmax/ramdisk/Makefile
RevisionDateAuthorComments
 1.56  27-Nov-2024  christos bump for ssp build
 1.55  25-Apr-2021  christos handle mipsn64
 1.54  07-Sep-2020  mrg bump image size for pmax64 builds.
 1.53  29-Dec-2019  christos 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
and LDSTATIC used to be passed before) instead of appending them
to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
flags.

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

(as proposed in tech-toolchain)
 1.52  26-Jun-2019  martin Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise)
 1.51  03-Apr-2019  christos Give us a bit of breathing room since the calculated size of mkfs is not
working.
 1.50  29-Mar-2019  christos Bumpity bump bump
 1.49  13-Feb-2019  gson Bump pmax install ramdisk size by another 100k, as 3500k is no longer
enough with GCC 7.
 1.48  16-Jul-2017  christos branches: 1.48.2; 1.48.6;
Give us a little room, too much potato chips.
 1.47  24-Jan-2017  christos += for MAKEFS_FLAGS
 1.46  14-Aug-2012  martin branches: 1.46.16; 1.46.20;
Change all install media to use ipty instead of pty0
 1.45  11-Feb-2010  roy branches: 1.45.6; 1.45.8;
Remove terminfo.db as it's now embedded in libterminfo.
 1.44  05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.43  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  30-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  01-Feb-2003  tsutsui branches: 1.31.2;
Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.

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

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

This will be fixed in a more clean manner in the future.
 1.26  12-Apr-2002  lukem use ${IMAGETAR} support from Makefile.image
 1.25  12-Apr-2002  lukem use ${DISTRIBDIR} appropriately
 1.24  06-Apr-2002  tsutsui Set DBG=-Os for libhack.
 1.23  01-Apr-2002  lukem ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
 1.22  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
 1.12  02-May-2000  sjg branches: 1.12.4;
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.11  06-Jan-2000  simonb Tidy up a little and make work.
Now uses like disktab files for disk labels.
 1.10  28-Dec-1999  simonb Don't do the disklabel dance - just newfs the vnode.
Add an "echoimage" target.
 1.9  11-May-1999  veego Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

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

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
 1.1  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  25-Mar-2002  he Apply patch (requested by he):
Introduce dependency between ramdisk/miniroot construction and
osrelease.sh, to better support UPDATE builds of releases.
 1.31.2.1  20-May-2004  tron Pull up revision 1.32 (requested by he in ticket #353):
Expand the ramdisk image size from 3m to 3148k so that the contents
fits again.
 1.37.12.1  05-Oct-2008  mjf Sync with HEAD.
 1.45.8.1  15-Aug-2012  riz Pull up following revision(s) (requested by martin in ticket #500):
distrib/evbppc/ramdisk/Makefile: revision 1.16
distrib/emips/ramdisk/Makefile: revision 1.2
distrib/sandpoint/ramdisk/Makefile: revision 1.10
distrib/evbmips/instkernel/ramdisk/Makefile: revision 1.12
distrib/i386/ramdisks/ramdisk-rescuetiny/Makefile: revision 1.2
distrib/ibmnws/netboot/ramdisk/Makefile: revision 1.11
distrib/pmax/ramdisk/Makefile: revision 1.46
distrib/i386/ramdisks/ramdisk-tiny/Makefile: revision 1.2
just make the installation ptys (ipty); change it to opty if more needed.
Change all install media to use ipty instead of pty0
 1.45.6.1  30-Oct-2012  yamt sync with head
 1.46.20.1  21-Apr-2017  bouyer Sync with HEAD
 1.46.16.1  20-Mar-2017  pgoyette Sync with HEAD
 1.48.6.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.48.6.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.48.6.1  10-Jun-2019  christos Sync with HEAD
 1.48.2.2  16-Jul-2017  christos 287934
 1.48.2.1  16-Jul-2017  christos file Makefile was added on branch perseant-stdc-iso10646 on 2017-07-16 14:24:30 +0000

RSS XML Feed