Commit Graph

37 Commits

Author SHA1 Message Date
apb
71da667fc9 Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
matt
279db79088 TARGETS -> ARCH_TARGETS 2014-03-01 01:52:13 +00:00
apb
36ef98548b Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
2014-01-27 08:18:07 +00:00
he
36984c64cc Fix the ALL_KERNELS default value assignment, so that the double
quotes don't become a part of the value, causing all the targets
to be skipped by default.
2013-01-30 13:47:36 +00:00
mlelstv
3bc93874c5 build.sh lets you build releases with a limited set of kernels by
using the ALL_KERNELS environment variable to override the arch default.

Fix this mechanism for evbarm by limiting the generated boot images
accordingly.
2013-01-13 14:43:23 +00:00
bsh
0e9f71e12b add phony targets to build gzimg files for specified kernels, instead
of building all gzimg files in TARGETS.
2012-04-04 07:32:29 +00:00
perry
58e0c54cf3 Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
2009-04-03 22:36:34 +00:00
cliff
808205e999 add GEMINI gz image target 2008-10-31 02:02:54 +00:00
matt
b3139d33db Change MACHINE to RELEASEMACHINEDIR 2008-06-23 02:09:29 +00:00
scw
5a9e652d52 Build a gzboot image suitable for CP3100. 2006-11-09 00:35:32 +00:00
joff
093d31d23f Plug Technologic Systems TS-7200 SBC kernels into evbarm release build 2004-12-24 10:56:23 +00:00
bsh
8c0536d8f2 add SMDK2800 to supported platform. 2003-07-30 18:55:46 +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
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
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
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
thorpej
fa625b1194 Make the "release" target catch everything we want. 2002-04-13 16:40:32 +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