Commit Graph

117 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
fvdl
42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +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
a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
lukem
c7ad6e6337 Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +00:00
nathanw
490a68eaad Adapt miniroot list to libraries in /lib. 2002-10-28 17:25:14 +00:00
jdolecek
446deeb58f ld.elf_so is now in /libexec, so update the list here
XXX not tested
2002-10-15 21:58:20 +00:00
bouyer
d0ddca39c8 ld.elf_so also needs to be executable. 2002-06-09 11:25:09 +00:00
lukem
0165e1202a As parselist.awk now sets COPY-ied files explicitly to 444, ensure
executable files are 555.
2002-06-05 11:22:04 +00:00
nathanw
d09edc11ea Run installboot on the miniroot image, now that it is tested. 2002-05-28 21:15:56 +00:00
nathanw
86d9b59155 We're up to libcurses 5 these days. 2002-05-22 00:26:10 +00:00
lukem
7ab28ee8d5 fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
  to sharing sun68k/stand)
- need full paths in list ${COPY} statements
2002-05-18 13:26:14 +00:00
lukem
91db817d71 convert to NDWO, a la sun2.
XXX:	untested.
	also needs sun3 converted to sun68k/stand/bootxx so that
	the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2:	sun2 & sun3 should share distrib dirs since they're extremely similar...
2002-05-17 17:52:29 +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
5bf6e9db83 use RELINSTALL 2002-04-26 15:05:29 +00:00
lukem
9074deb758 use gzip -9f 2002-04-26 15:05:18 +00:00
fredette
ed853533a0 Fixed a spelling mistake. 2002-04-18 21:45:37 +00:00
bouyer
a1e18eb6d5 Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.
2002-04-18 15:36:57 +00:00
lukem
983821fd73 - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
2002-04-12 03:21:09 +00:00
lukem
0476c683f0 replace BSDSRCDIR with _SRC_TOP_, since the latter is more likely to
be "accurate".  document _SRC_TOP_.
2002-04-10 15:05:41 +00:00
tsutsui
ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +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
lukem
49b82438e7 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:14:26 +00:00
chs
7b2a130dc8 make this work in the new build system. 2002-02-23 17:27:42 +00:00
tsutsui
67c466f89d Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target. 2001-11-09 21:00:04 +00:00
chs
5855efa8d8 add a warning about the sun3 firmware not being able to access
more than 1 GB of the disk.
2001-10-27 22:38:09 +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
chs
79016ecdea make this work with obj dirs. 2001-10-04 16:09:11 +00:00
chs
dec9f39d8d reduce ramdisk size back to what it was before.
everything fits since tsutsui fixed libhack.
2001-10-04 08:17:41 +00:00
chs
005366700c use symlinks instead of a second copy of each shared lib. 2001-10-02 06:43:15 +00:00
mrg
550540434a add /bin/rcmd; rsh needs this. 2001-09-21 06:12:52 +00:00
mrg
25f70db835 add missing nfs entries; required for mount_nfs 2001-09-21 05:46:09 +00:00
chs
690a630673 increase the memory disk size, it needs to be bigger with ELF. 2001-07-30 00:09:08 +00:00
wiz
41df6b74a9 partiton -> partition 2001-07-26 22:47:34 +00:00
tsutsui
2d10b0bb85 - Use x_mount and x_umount.
- Use keyword "special" instead of "ln" to specify srcdir for x_* progs
  sinse prognames x_* are not needed for the crunched binary.
2001-06-15 19:19:43 +00:00
chs
858c07d313 update for an ELF world. 2001-05-26 06:12:11 +00:00
chs
50942259de include bsd.sys.mk for DESTDIR builds. 2001-05-19 03:30:22 +00:00
jmc
3d4ad14d6a Add an unconfig rule 2001-02-13 03:11:26 +00:00
jmc
8b0d17b72a Up the size to 12M. Add an unconfig rule 2001-02-13 03:10:56 +00:00
jmc
9d03470cc6 Need larger image. Add a new disktab layout for 12M 2001-02-13 03:10:21 +00:00
jmc
fafd1c111a Bring up to date 2001-02-13 03:09:27 +00:00
garbled
83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
tsutsui
b703642129 Rename netbsd-RAMDISK{,3X}.gz -> netbsd.RAMDISK{,3X}.gz for consistency.
etc/Makefile uses ${KERNEL}.${CONFIGFILE}.gz.
2000-06-19 23:46:08 +00:00
tsutsui
db1b5537b4 Rename netbsd-RAMDISK{,3X}.gz -> netbsd.RAMDISK{,3X}.gz for consistency.
etc/Makefile uses ${KERNEL}.${CONFIGFILE}.gz.
2000-06-19 23:46:06 +00:00
tsutsui
01397a64b5 Add etc/netconfig to lists. 2000-06-19 14:55:20 +00:00
tsutsui
c72204655e mkdir -p ${RELEASEDIR}/installation/miniroot on "make release". 2000-06-19 14:39:24 +00:00
cgd
c85d2eb42b sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself.  (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.)  Their approval has been given re: the license
change.
2000-06-14 22:52:37 +00:00