History log of /netbsd-current/distrib/sparc/bootfs/Makefile
Revision Date Author Comments
# 1.40 14-Mar-2012 martin

Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.


# 1.39 10-Jul-2003 lukem

branches: 1.39.32; 1.39.56; 1.39.58;
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.38 21-Dec-2002 lukem

Add some magic with ${SUNLABEL} into ${IMAGEPOSTBUILD} (after ${INSTALLBOOT}
runs) to ensure that boot.fs has a valid Sun disklabel.

Sparc boot floppies now boot.


# 1.37 29-Jul-2002 mrg

fix a comment


# 1.36 14-May-2002 lukem

branches: 1.36.2;
consistently use "${INSTALLBOOT} -v ..."


# 1.35 08-May-2002 lukem

convert to New Distrib World Order.
(another directory down; one more left to convert to make sparc fully NDWO)


# 1.34 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.33 11-Mar-2002 lukem

as we don't need local version of REV and VER any more, read in
distrib/Makefile.inc directly and remove the now-unnecessary
Makefile.inc from here


# 1.32 05-Mar-2002 thorpej

Use ${PRINTOBJDIR}.


# 1.31 08-Nov-2001 tron

Use "vnd0" instead of "/dev/vnd0c" as argument for "vnconfig" because it
is more portable and works with the latest "vnconfig".


# 1.30 22-Oct-2001 tv

.include <bsd.subdir.mk> in order to inherit no-op standard targets like
the other Makefiles here do. This really isn't the Right way to do it in
the long run (better to use <bsd.prog.mk> with NOPROG), but it works.


# 1.29 21-Oct-2001 jmc

Convert to using ${MDSETIMAGE}.

Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.


# 1.28 21-Oct-2001 jmc

Use ${OBJCOPY} instead of objcopy directly.


# 1.27 18-Feb-2001 jmc

Change to pass file image to binstall so it can be built in securelevel > 0


# 1.26 31-Oct-2000 pk

* Simplify construction of the `boot.fs' filesystem.
* Construct and install a `Sun a.out' version of the memory-disk kernel
which can be used for booting from tape.


# 1.25 20-Oct-2000 pk

Boot from floppy now requires two disk images:
- a bootable bootfs which contains a spartan md-based `ramdisk'
filesystem, which loads the tar file image:
- instfs, which is constructed from the miniroot filesystem
and contains all installation utilities.

The current miniroot image also supersedes the former separate
{bootfs,ramdisk}.sysinst tools.


# 1.24 04-Sep-2000 abs

Use $(IMAGE) where appropriate


# 1.23 28-Aug-2000 pk

Install the default boot program again (hopefully this will last a while..)


# 1.22 02-Jul-2000 sommerfeld

Install netbsd.ram.gz into release area so it can be used to start a netinstall
on systems which can use boot_big.net


# 1.21 16-Jun-2000 matt

branches: 1.21.2;
quiet this when boot.fs doesn't exist


# 1.20 06-May-2000 sjg

Allow bootfs to grow as needed. It does not fit on a floppy
anymore - so stop trying, a new floppyfs is needed.
Meanwhile this bootfs remains useful to those that don't use floppies.


# 1.19 01-May-2000 sjg

use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.


# 1.18 02-May-2000 sjg

use KERNOBJDIR from bsd.kernobj.mk


# 1.17 15-Apr-2000 mrg

- add a "netbsd.ram" target so we can build a kernel that has an embedded
filesystem but don't need/want to compress it.
- use "KERN?=" so that "make KERN=/path/to/my/netbsd" works.


# 1.16 08-Mar-2000 cjs

Include bsd.own.mk so we use /etc/mk.conf.


# 1.15 21-Feb-2000 pk

Select `boot.700000' as the second-stage boot program.


# 1.14 14-Jan-2000 pk

Zip it real good.


# 1.13 10-Jan-2000 pk

Remove version number from boot image files.


# 1.12 18-Oct-1999 pk

Add `release:' targets.


# 1.11 08-Apr-1999 pk

branches: 1.11.2;
- add more i-nodes to ramdisk image
- make ramdisk/list work again with object directories
- make OS revision part of the images file names (like miniroot).


# 1.10 04-Mar-1999 wrstuden

branches: 1.10.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.9 18-Jan-1999 mrg

branches: 1.9.2;
remove bogus line in all: target.


# 1.8 10-Jan-1999 mrg

adapt to using the miniroot version of runlist.sh


# 1.7 13-Nov-1998 mrg

add a disklabel -W


# 1.6 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.5 27-Aug-1998 mrg

use $TOP in more places (pr5899 from jbernard@ox.mines.edu). add empty depend/install targets.


# 1.4 21-Jun-1998 mrg

move distrib/sparc/floppies/* into distrib/sparc, so that the boot image
can be accessed for cdrom systems. rename "bootfloppy" to "bootfs" as it
is used for cdroms, not just floppies :) adjust paths as necessary for
this merge.

--- done via repository copy.


# 1.3 20-Jun-1998 mrg

FLOPPY -> INSTALL


# 1.2 06-Jun-1998 mrg

rename INSTALL FLOPPY. add tset.


# 1.1 05-Jun-1998 mrg

branches: 1.1.1;
Initial revision


# 1.1.1.1 05-Jun-1998 mrg

bootable floppy support for NetBSD/sparc, based on some i386 stuff


# 1.9.2.2 24-Jan-1999 cgd

pull up rev(s) 1.1-1.9 from trunk (new file). (mrg)


# 1.9.2.1 18-Jan-1999 cgd

file Makefile was added on branch netbsd-1-3 on 1999-01-25 06:19:19 +0000


# 1.10.2.5 09-Jul-2000 he

Apply patch (requested by pk):
Use the boot loader at 3E0000 instead of 700000, to allow booting
on machines with only 4M in the first physical memory bank.


# 1.10.2.4 03-Jun-2000 he

Apply patch (requested by he):
Don't strip kernel, copy INSTALL kernel to kernel directory
under ``make release''.


# 1.10.2.3 29-Feb-2000 he

Apply patch (requested by toddpw):
Fix build errors in distrib/sparc, support ``release'' target,
increase size of ramdisk while removing dependency on /etc/disktab,
and notifying kernel.


# 1.10.2.2 22-Feb-2000 he

Apply patch (requested by pk):
Make several sparc boot programs to run at different relocated
addresses. The boot build procedures can then pick the one which
is least likely to fail.


# 1.10.2.1 08-Apr-1999 pk

Pull up rev. 1.11 from trunk.


# 1.11.2.1 27-Dec-1999 wrstuden

Pull up to last week's -current.


# 1.21.2.3 20-Mar-2002 he

Pull up revision 1.27 (requested by he):
Add ``-f'' option to binstall.sh and use it. This is allows boot
media construction when securelevel > 0.


# 1.21.2.2 31-Oct-2000 tv

Pullup 1.26 [pk]:
* Simplify construction of the `boot.fs' filesystem.
* Construct and install a `Sun a.out' version of the memory-disk kernel
which can be used for booting from tape.


# 1.21.2.1 19-Oct-2000 tv

Commit by patch [pk]:
- boot floppy image out of space: use a two disk system
- update INSTALL kernel
- updates/fixes to miniroot image
- support for building CD image
- update installation doc


# 1.36.2.1 26-Dec-2002 tron

Pull up revision 1.38 (requested by lukem in ticket #1044):
Add some magic with ${SUNLABEL} into ${IMAGEPOSTBUILD} (after ${INSTALLBOOT}
runs) to ensure that boot.fs has a valid Sun disklabel.
Sparc boot floppies now boot.


# 1.39.58.1 23-Mar-2012 bouyer

Pull up following revision(s) (requested by martin in ticket #139):
distrib/sparc/bootfs/Makefile: revision 1.40
etc/etc.sparc/Makefile.inc: revision 1.43
Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.


# 1.39.56.1 16-Apr-2012 yamt

sync with head


# 1.39.32.1 05-Oct-2008 mjf

Sync with HEAD.