Commit Graph

41 Commits

Author SHA1 Message Date
martin 87ec685886 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.
2012-03-14 13:26:43 +00:00
lukem 001c68bd94 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.
2003-07-10 10:33:58 +00:00
lukem 10d98f9c78 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.
2002-12-21 13:01:20 +00:00
mrg 43df3bff77 fix a comment 2002-07-29 14:23:12 +00:00
lukem 094e12e661 consistently use "${INSTALLBOOT} -v ..." 2002-05-14 06:21:20 +00:00
lukem 4db94e2b9a convert to New Distrib World Order.
(another directory down; one more left to convert to make sparc fully NDWO)
2002-05-09 05:31:13 +00:00
lukem ed8e534c7e 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}
2002-05-02 18:02:14 +00:00
lukem 3f267f7add 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
2002-03-11 07:11:37 +00:00
thorpej 0d1f6a757d Use ${PRINTOBJDIR}. 2002-03-05 21:16:51 +00:00
tron 34d8f65b19 Use "vnd0" instead of "/dev/vnd0c" as argument for "vnconfig" because it
is more portable and works with the latest "vnconfig".
2001-11-08 16:52:20 +00:00
tv 4adbe6d1df .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.
2001-10-23 16:30:35 +00:00
jmc 4d6ad24166 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.
2001-10-21 23:23:19 +00:00
jmc 57d273d68a Use ${OBJCOPY} instead of objcopy directly. 2001-10-21 23:21:53 +00:00
jmc 5d433ad17d Change to pass file image to binstall so it can be built in securelevel > 0 2001-02-19 06:25:39 +00:00
pk ed7f29492d * 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.
2000-10-31 20:59:00 +00:00
pk 6b7e1b7c52 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.
2000-10-20 11:56:55 +00:00
abs 2d3bda117b Use $(IMAGE) where appropriate 2000-09-04 17:04:24 +00:00
pk a17689f528 Install the default boot program again (hopefully this will last a while..) 2000-08-28 19:14:25 +00:00
sommerfeld 76827b3e8f Install netbsd.ram.gz into release area so it can be used to start a netinstall
on systems which can use boot_big.net
2000-07-03 02:17:56 +00:00
matt d877c43bc4 quiet this when boot.fs doesn't exist 2000-06-17 03:10:23 +00:00
sjg df3dbd39a6 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.
2000-05-06 14:18:53 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
sjg 952a141de5 use KERNOBJDIR from bsd.kernobj.mk 2000-05-02 07:10:19 +00:00
mrg 6ce8bed0fd - 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.
2000-04-16 04:16:12 +00:00
cjs 727677837e Include bsd.own.mk so we use /etc/mk.conf. 2000-03-08 21:58:10 +00:00
pk 3bd0cd4733 Select `boot.700000' as the second-stage boot program. 2000-02-21 14:52:01 +00:00
pk ce40e68a20 Zip it real good. 2000-01-14 13:47:27 +00:00
pk f1feb4e600 Remove version number from boot image files. 2000-01-10 15:17:30 +00:00
pk b06b87a810 Add `release:' targets. 1999-10-18 20:13:55 +00:00
mrg 0acd344de8 call this "netbsd" so that it is found first time.. 1999-06-23 13:20:18 +00:00
pk c672e5ca96 - 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).
1999-04-08 21:17:14 +00:00
wrstuden ad140b77ea 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.
1999-03-04 20:32:18 +00:00
mrg 84e248ad5e remove bogus line in all: target. 1999-01-18 13:21:21 +00:00
mrg fa1711e241 adapt to using the miniroot version of runlist.sh 1999-01-10 13:21:27 +00:00
mrg ff30fbbef4 add a disklabel -W 1998-11-14 01:45:23 +00:00
lukem 06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
mrg 974e750f0e use $TOP in more places (pr5899 from jbernard@ox.mines.edu). add empty depend/install targets. 1998-08-28 02:01:28 +00:00
mrg 2762ae0f2b 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.
1998-06-21 07:39:45 +00:00
mrg c22655fe0c FLOPPY -> INSTALL 1998-06-20 13:31:34 +00:00
mrg c12376b3fa rename INSTALL FLOPPY. add tset. 1998-06-06 06:09:14 +00:00
mrg 5da299f886 bootable floppy support for NetBSD/sparc, based on some i386 stuff 1998-06-06 05:29:50 +00:00