Commit Graph

63 Commits

Author SHA1 Message Date
abs 7a3d39395e Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
2009-01-25 22:08:37 +00:00
tsutsui 356ea0a687 usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
apb f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
matt 7cd6f44757 Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
2008-06-23 02:16:53 +00:00
he 1415bf509b Bump miniroot size from 500k to 600k to compensate for recent bloat. 2008-06-02 09:04:50 +00:00
dyoung fdf6250eac Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
tsutsui 44f3e60011 Fix (currently harmless) typo.
I'm not sure why autobuild (amd64) gets ICE with -Os while it works on i386..
2008-04-29 17:42:35 +00:00
tsutsui 03326f4ad8 Shrink ramdisk to 500k again.
The crunched binary with optimized libraries fits it.
2008-04-27 05:59:47 +00:00
he fffa7e0bcb Bump the ramdisk from 500k to 700k to compensate for bloat which
happened while the sun2 kernels were unbuildable.
2008-04-25 23:01:27 +00:00
isaki eecbbb187f Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.
2007-06-24 05:41:52 +00:00
tsutsui 419a28d6ac Use src/distrib/common/services so that miniroot fits in 4MB. 2007-05-16 13:06:39 +00:00
he c80ab09cea Bump the miniroot size from 4M to 4300k so the contents fits again. 2007-05-15 20:47:17 +00:00
tsutsui 5394379e91 Use crunched binary on sun2 miniroot so that miniroot is
now much smaller (18MB -> 4MB).
Installation is tested on TME (with a workaround for uvm_readahead.c bug).
2007-03-20 16:20:20 +00:00
bouyer fee07bcfd4 Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
2007-03-06 21:56:47 +00:00
apb 305d6c91e1 MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.
2007-03-03 06:40:05 +00:00
apb 911c20c486 Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.
2007-03-01 09:25:42 +00:00
apb 5d188139b4 Treate MAKEDEV.subr just as we treat MAKEDEV when creating ramdisk
images or miniroot images.
2007-03-01 07:11:04 +00:00
he cfaad7eb68 Bump the miniroot size by 1MB to 18MB so that it fits again. 2006-07-31 22:56:09 +00:00
tsutsui cc999a4878 After extracting sets, copy miniroot kernel only if there is
no extracted kernel in the target disk.
2006-06-25 00:35:03 +00:00
he 6ecd57a7f6 Bump the miniroot size from 16m to 17m so that the contents fits again. 2006-02-14 21:27:52 +00:00
he f3458f94d0 Patterned after sun3, use "tls" instead of "ls", and hardlink the program
to "ls".  Fixes build problem after recent update to crunchgen.
2004-10-19 17:45:53 +00:00
skrll 998c088730 Increase miniroot size to 16m. 2004-06-05 19:05:29 +00:00
he 04f04dc579 Bump miniroot size from 13M to 15M so that the contents fits again. 2004-02-23 18:53:31 +00:00
chs 6b91282609 ramdisk doesn't fit in 400k anymore, make it 500k. 2003-12-13 22:06:23 +00:00
chs 65c85e200e miniroot doesn't fit in 12MB anymore, make it 13.
remove fd0 from device list since it doesn't exist.
2003-12-13 22:05:28 +00:00
jdolecek 109e80d1e0 __ramdisk MAKEDEV target is no more 2003-10-29 11:50:53 +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
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
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
lukem 9f96a0d08c minor whitespace & sorting cleanup 2002-05-19 13:13:39 +00:00
lukem 094e12e661 consistently use "${INSTALLBOOT} -v ..." 2002-05-14 06:21:20 +00:00
fredette 401ee1a909 The miniroot now has a .fs extension. 2002-05-08 15:32:58 +00:00
fredette e69bcedcef Now include distrib/common/Makefile.distrib. 2002-05-07 17:15:00 +00:00
jdolecek 8b49ffb90d don't use ${OBJDIR}, using just 'install.sub' in IMAGEDEPENDS should work fine
add install.sub to CLEANFILES
2002-05-07 09:14:15 +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 51fa6a7f42 remove stuff migrated to ../ramdisk or ../miniroot 2002-04-26 03:58:41 +00:00
lukem e9e28d241a Migrate to a distrib framework closer to how other ports work.
Arguably this could be moved to using the distrib/miniroot
infrastructure instead.

XXX: This could benefit from being crunchgen-ed with libhack;
currently it just uses a lot of stuff out of ${DESTDIR}
2002-04-26 03:49:05 +00:00
lukem b5ad808f0c remove non mount_* links to mount_* programs... 2002-04-26 03:38:19 +00:00
lukem 68e32c4166 move files from ../common/ that are only used in this directory to here 2002-04-26 03:29:32 +00:00
lukem 7abb10eb65 convert to be closer to the other distrib dirs:
- take advantage of Makefile.mdset
- use list instead of ramdisk.list, and remove special srcdirs for init
  and dd since they understand -DSMALLPROG
- use full-path style specfile mtree.conf instead of
  old-style specfile ../common/ramdisk.tree
- ensure IMAGEDEPENDS is in sync with list
(xxx; untested :)
2002-04-26 03:15:15 +00:00
lukem 63f4cf909a this shouldn't be necessary 2002-04-26 02:56:45 +00:00
lukem 919d3f7830 use ${RELINSTALL} instead of cp -p 2002-04-26 02:54:59 +00:00
lukem b15f81d077 - call ${INSTALLBOOT} with -m ${MACHINE}
- use check_RELEASEDIR
2002-04-26 02:51:47 +00:00
fredette fd6a9fbbbf Be sure to use /usr/sbin/installboot instead of /usr/mdec/installboot,
since the status of any compatability link or script is up in the air.
2002-04-23 02:27:40 +00:00