Commit Graph

25 Commits

Author SHA1 Message Date
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 094e12e661 consistently use "${INSTALLBOOT} -v ..." 2002-05-14 06:21:20 +00:00
lukem 55f953bfa3 fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)
2002-05-08 23:11:56 +00:00
lukem 67331f09d5 improve how gzipping is done to reduce amount of temp files, etc. 2002-05-08 07:57:09 +00:00
lukem c924434885 this needs to be ${INSTALLBOOT}ed 2002-05-07 14:44:06 +00:00
lukem 875330dd7f major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
	- install.fs: to mdset into netbsd.INSTALL
	- inst.tgz: contents of install.fs
	- miniroot.fs: install.fs + gzipped GENERIC kernel.  created using a
	  copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
2002-05-07 14:41:36 +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 e5ef62ef2b - add specific special entry for sys/arch/${MACHINE}/stand/installboot
for ports that don't yet use the MI usr.sbin/installboot
- remove now-unnecessary srcdir for sys/arch/${MACHINE}/stand
2002-04-09 00:31:38 +00:00
rafal d823959dee Fix build; don't reference ${DISTRIBDIR} when it hasn't been defined; instead
define HACKSRC via ${SRCROOT}/distrib/utils/libhack
2002-03-28 14:47:10 +00:00
lukem 484f8db2eb - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
lukem 25c4cc30b2 Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
mrg 2101858f52 - don't put a copy of GENERIC in the netbsd.INSTALL kernel's embedded
filesystem's as /netbsd...

- reduce INSTALL size by 2.5MB.

- clean up list.m4
2002-01-21 13:46:26 +00:00
mrg 61d679b8c1 convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd.  fix this shortly.
2002-01-20 05:57:10 +00:00
mrg c8166f989e update the location of the client script. 2002-01-05 07:42:10 +00:00
mrg 73824b4903 link /sbin/disklabel, and copy dhclient-script in as well (dhclient was already included, just not available) 2002-01-01 08:01:58 +00:00
mason a3f1ae9c61 vnconfig called incorrectly, breaks build 2001-12-26 15:18:24 +00:00
jmc c15d918f56 Add bsd.prog.mk for libhack components 2001-12-04 18:14:20 +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 a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00
enami 652855a0c7 Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@netbsd.org.
2001-10-10 05:13:51 +00:00
mrg b82078b80d netbsd.INSTALL.gz is already install; back out part of previous. 2001-08-23 17:19:49 +00:00
eeh 11f0349df1 Install INSTALL kernel. 2001-08-23 17:14:40 +00:00
eeh ceea8c87d3 Make the size of the miniroot more easily tuneable and install it in a kernel. 2001-07-21 06:01:03 +00:00
mrg 1ab6aa7287 s/ramdisk/xminiroot/ 2001-01-07 09:31:17 +00:00
mrg ca68673e36 rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does. 2001-01-07 09:30:12 +00:00