Commit Graph

37 Commits

Author SHA1 Message Date
joff e12f6a1aba Add /bin/rmdir, needed by sysinst 2004-12-31 11:54:29 +00:00
joff 093d31d23f Plug Technologic Systems TS-7200 SBC kernels into evbarm release build 2004-12-24 10:56:23 +00:00
wiz 3f9411f688 Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
martin 5d2216c751 More crunchgen lists needing -lz now for new gzip.
Noticed by Markus W Kilbinger.
2003-12-27 21:30:27 +00:00
bsh 8c0536d8f2 add SMDK2800 to supported platform. 2003-07-30 18:55:46 +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
thorpej 846d276e6f Don't build a big-endian image on platforms which don't run big-endian. 2003-05-26 15:46:48 +00:00
thorpej 5ad9e35066 Don't build gzboot's separately. Instead, use the concatenate'able
gzboot images that are installed in ${DESTDIR}/usr/mdec.  Simplifies
building of these images considerably.

Fixes PR port-arm32/21352.
2003-04-29 18:18:53 +00:00
thorpej 43fde6c499 Fix building of gzimg's (feh, last test build was done from the wrong
source tree).
2003-04-10 04:35:23 +00:00
thorpej 24f1d87951 Descend into the gzboot_ADI_BRH_flash_0x00140000 subdir. 2003-04-10 01:50:28 +00:00
thorpej fa014307ab Bump the max compressed kernel image size to 1.5M; 4 SCSI controller
drivers, each with a plethora of microcode, takes up a bit of space,
and this gives us a bit of breathing room.
2003-04-08 21:41:18 +00:00
thorpej b580af4dd8 Build "root on wd0" and "root on sd0" gzboot images for ADI BRH,
IQ80310, and IQ80321.  Build "root on sd0" for TEAMASA_NPWR.
2003-04-08 21:26:59 +00:00
thorpej 1ca10d28f2 Add a gzboot for the ADI BRH board. 2003-04-08 21:24:59 +00:00
thorpej 9e156cf668 Add ADI_BRH_INSTALL, INTEGRATOR_INSTALL, IQ80310_INSTALL, and
IQ80321_INSTALL.
2003-04-08 21:06:08 +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 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
lukem 67331f09d5 improve how gzipping is done to reduce amount of temp files, etc. 2002-05-08 07:57:09 +00:00
lukem 9fd667b2c2 Use per-target temp files, rather than sharing the same ones.
Fixes parallel build problem noted by Bill Sommerfeld.
2002-05-05 14:37:38 +00:00
lukem d5209f6152 rather than blocking parallel mdset builds with .WAIT, replace usage of
"netbsd.tmp" with "${.TARGET:R}" (et al)
2002-05-03 15:22:55 +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
thorpej 1c2f7845de Build gzboot_TEAMASA_NPWR_flash_0x00080000. 2002-04-26 02:31:57 +00:00
thorpej 8eef8db58c Build a gzboot image for the TeamASA Npwr. 2002-04-24 21:24:16 +00:00
thorpej f897638a44 Allow the name of the gzboot image to be different from the name
of the kernel configuration.
2002-04-24 21:17:31 +00:00
thorpej f13a1f0948 Allow which kernel for a specific kernel config to be specified (e.g.
netbsd-sd0, netbsd-wm0, etc.).
2002-04-24 21:09:57 +00:00
thorpej 8a0e1d451e Add iq80321.c 2002-04-24 20:37:46 +00:00
thorpej f2074c92de Add iq80310.c 2002-04-24 20:36:59 +00:00
lukem 36f355e14e - Rename Makefile.mdset variables:
MDEXTRA_SUFFIXES.${KERNEL} 	-> MDSET.${FILENAME}.suffixes
	${KERNEL.${_K}}.post		-> MDSET.${FILENAME}.post
  This allows "default" rules for for MDSETTARGETS with FILENAMEs of "-"
  by defined MDSET.-.post & MDSET.-.suffixes
- Document the above
- Use the above appropriately in various Makefiles
- Be a be quieter when building these kernels
- Add .WAIT syncs so that multiple kernels aren't built in parallel, because
  the temporary filename is the same, and it also avoid hairy magic in
  syncing the targets generated from MDSET.${FILENAME}.suffixes with
  the master target for that ${FILENAME}
2002-04-14 01:41:24 +00:00
thorpej aa77fb8ac9 Add S-Record and flat binary versions of the TEAMASA_NPWR_INSTALL
kernel.
2002-04-13 17:29:27 +00:00
thorpej fa625b1194 Make the "release" target catch everything we want. 2002-04-13 16:40:32 +00:00
thorpej b7e97d2262 Ramdisk/install kernel for evbarm. Currently support the Npwr
storage appliance.

XXX More work needs to be done here.
2002-04-13 01:46:29 +00:00
thorpej a37fb3fdd3 Add back the -f flag to gzip(1) that was erroneously removed in
in the last change.
2002-04-11 23:36:49 +00:00
thorpej fdbd9c7afd NOMAN needs to be defined *before* pulling in <bsd.own.mk>. 2002-04-11 23:35:43 +00:00
lukem 07c656bc4d - move gzboot/gzimg_* into unified gzboot/gzimg/, incorporating gzboot/kern_*
- use NDWO Makefile layout
2002-04-11 12:19:41 +00:00
thorpej ea5eb7608e Fix the "release" target. 2002-03-29 01:52:45 +00:00
thorpej ca897ac9e9 Add some basic distrib infrastructure for NetBSD/evbarm. Right
now, this includes building flash'able gzip'd kernel images (and
the uncompressing loader) for the IQ80310 and IQ80321 eval boards.
2002-03-28 22:02:59 +00:00