Commit Graph

71 Commits

Author SHA1 Message Date
tsutsui
f9be6e290b Now smaller ditrib/utils/x_gzip has -l support so use it again. 2004-03-28 11:44:20 +00:00
tsutsui
fdc35420fb Use usr.bin/gzip instead of distrib/utils/x_gzip for -l option used by sysinst.
(Hmm, SMALL should disable bzip2 support or not?)
2004-03-26 15:23:35 +00:00
salo
8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +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
tsutsui
a6223afc8f Remove "srcdir distrib/utils/x_mount" from ramdisk lists
since src/sbin/mount/Makefile no longer links fs specific routines.
2003-01-19 12:26:47 +00:00
lukem
c7ad6e6337 Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +00:00
lukem
ea0637c5af Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
we don't need distrib/utils/x_ftp anymore...
2002-10-17 06:38:15 +00:00
tsutsui
88023fad08 Rename dir ramdisk-kernel/ -> instkernel/ 2002-05-21 16:33:37 +00:00
lukem
2d570bea0e Convert to NDWO build.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:14:20 +00:00
lukem
28afa1a617 Convert from usr/mdec/installboot to usr/sbin/installboot.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:13:39 +00:00
lukem
04e61f8526 - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
2002-05-08 21:44:53 +00:00
jdolecek
41fef67887 need to include Makefile.distrib here now 2002-05-05 15:41:00 +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
9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
lukem
f845b9752d use RELINSTALL 2002-04-26 15:04:30 +00:00
tsutsui
e2cc6cf3ae Fix FILENAME in MDSETTARGETS (netbsd.INSTALL.gz is required). 2002-04-13 18:23:32 +00:00
lukem
8f603e224b consistency cleanup 2002-04-13 13:42:57 +00:00
lukem
0dfdd76021 Makefile.mdset:
replace
		TARGETS = KERNEL IMAGE [...]
	with
		MDTARGETS = KERNEL IMAGE FILENAME [...]
	If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename

The rest:
	Update for new MDTARGETS syntax.  In some cases, the kernel
	name from the "old" method will be used to override the default.
2002-04-12 13:39:43 +00:00
lukem
627174f862 - don't pull in <bsd.prog.mk> in Makefile.mdset; do that in the caller instead
- renamed optional post-strip action variable from ${KERNEL}.post to
  netbsd.${KERNEL}.post
2002-04-12 05:33:58 +00:00
lukem
fe5992eead convert to using distrib/common/Makefile.mdset 2002-04-11 15:34:52 +00:00
lukem
4d6fe8b353 add .WAIT sync 2002-04-10 01:36:20 +00:00
tsutsui
6371ef23e9 Set srcdir for sys/arch/${MACHINE}/stand/installboot
till these ports will switch MI use.sbin/installboot.
2002-04-07 03:46:44 +00:00
tsutsui
ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +00:00
lukem
e0f433e649 ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
2002-04-01 12:16:11 +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
6a88d3dfb1 minor tweak to IMAGEDEPENDS 2002-03-28 03:12:03 +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
lukem
328c43b040 don't need x_dd, init_s, x_sh in NDWO 2002-03-24 23:20:05 +00:00
tsutsui
ac992d6bf7 Remove pwd_mkdb stuff since /etc/passwd file is not needed for install media.
Pointed out by lukem.
2002-03-18 15:30:55 +00:00
lukem
1c4e12fe15 deprecate Makefile.inc in favor of including ../../Makefile.inc directly 2002-03-17 21:34:37 +00:00
lukem
2bee23dd09 remove now-unused cruft 2002-03-17 05:20:23 +00:00
tsutsui
70f4b738b4 Remove test(1), which is sh(1) builtin. 2002-03-17 01:56:06 +00:00
tsutsui
9948034261 Use distrib/utils/x_ed, and remove -lcrypt from libs. 2002-03-16 09:35:55 +00:00
tsutsui
79d84eddd3 Switch to the new common ramdisk build infrastructure. 2002-03-16 07:27:09 +00:00
thorpej
1d1d02da94 Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used. 2002-03-05 21:23:28 +00:00
tsutsui
f8f85f68d9 Sync with newsmips:
> use ${HACKOBJS:Ngethost.o} instead of trying to keep HACKOBJS in sync
> with HACKSRC/Makefile.inc
2002-02-04 11:03:08 +00:00
tsutsui
f0150052a5 On clean target, try to make -f ramdiskbin.mk clean first if it exists. 2002-01-23 12:59:25 +00:00
tsutsui
36a633380b ${SIZE} -> ${RAMDISKSIZE} to avoid conflict with toolchain. 2002-01-17 13:36:00 +00:00
tsutsui
14f6bfa64d Use "vnd0" instead of "/dev/vnd0c" as argument for "vnconfig" because it
is more portable and works with the latest "vnconfig".

XXX news68k (and alpha) use /dev/vnd0c to installboot vnd images..
2001-11-09 20:52:18 +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
tsutsui
8f1c399fa9 Remove etc/pwd.db and etc/spwd.db from ramdisk.fs
since libhack/getpwent.c does not require them.
2001-06-15 19:26:42 +00:00
tsutsui
f38c67afc0 Pull more functions (but except gethost.c) into libhack.o.
Saves ~2.3kbytes.
2001-03-19 22:27:59 +00:00
tsutsui
dd34b2b9b3 Use distrib/utils/x_mount. 2001-02-18 06:20:17 +00:00
tsutsui
6cbf8eaac7 Remove "COPTS= -Os". It is now specified in util/libhack/Makefile.inc. 2001-01-31 20:58:31 +00:00
tsutsui
f68bcbc806 Use ${PRINTOBJDIR}. 2001-01-07 08:38:01 +00:00
garbled
83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
tsutsui
c9a96015d1 Remove mount -t kernfs. 2000-09-13 13:50:16 +00:00
tsutsui
6c73b7cec0 /kern is no longer needed. 2000-09-13 13:49:30 +00:00