Commit Graph

68 Commits

Author SHA1 Message Date
wiz db579612f4 Definition, not defintion. From miod@openbsd. 2003-09-26 22:25:21 +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
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
gavan ec86ec411e Default to MDF and screen mode configured in RISC OS 2002-12-09 17:28:59 +00:00
bjh21 0f452df06d Spelling correction in comment. 2002-11-03 12:46:29 +00:00
bjh21 8f720e45aa Move the pause to before the kernel is loaded, and allow the user to press
a key to provide extra options or to load a different kernel (much like
biosboot on i386).  This saves having to edit the fastboot file just to
boot single-user.
2002-11-03 12:45:29 +00:00
chris 672ed5ea6a Fix a few typo's in the kinetic support.
Seems that kinetic support doesn't work, it hangs after branching into the relocation asm code.

Time to start debugging this stuff.
2002-09-03 22:02:02 +00:00
lukem 39d512abf7 oop; we need <bsd.own.mk> for ${PRINTOBJDIR}; pull that in, and
convert this Makefile to be more similar to others in distrib/**.

XXX: this still needs work to make this more non-netbsd-cross friendly.
e.g, use ${PAX} and compress instead of assuming that tar supports `Z', etc.
2002-07-22 04:42:43 +00:00
lukem 2f2d6a6d64 Use ${PRINTOBJDIR} appropriately.
Noted by Patrick Welche in private email.
2002-07-19 16:32:13 +00:00
reinoud b77d4d3db2 Use the ${MDSETIMAGE} instead of hardcoding it 2002-07-11 00:11:28 +00:00
reinoud b1ab5aa1a9 This file ought to be human readable as it is now. I accidently committed
it as tokenised Basic.
2002-07-10 15:42:15 +00:00
reinoud 1ce9f1474d We dont need the gzip anymore ... it was even reported to me by Gavin that
it crashed his machine :(
2002-07-10 11:49:37 +00:00
reinoud 9ed171579f OK this is the modified bb_netbsd bootblock partion program to facilitate
larger discs. It was allways broken for these discs anyway giving negative
cylinder numbers (!!)

The critical calculation is now done in float for the extra bits we get and
then converted back to ints rounding up ...  not much i agree but it
appears to be enough.
2002-07-10 11:47:45 +00:00
reinoud 4fe0887c60 We dont use gzip anymore 2002-07-10 11:33:21 +00:00
reinoud 50bb5ad8e1 Delete the file wd0d ... it was useless for it can't be mounted even! Since
it denotes the NetBSD partion in its whole.
2002-07-10 11:15:40 +00:00
reinoud 44dc6eeabd Small patch that took some time to fizzle out though that includes the
installation kernel into the BtNetBSD thus helping the installation
process on Acorn32 tremendously.

New users now only have to download the BtNetBSD.tar.Z image, unpack it
with the suplied !SparkPlug and run the installation kernel as they
normally would expect to be able to under RiscOS.
2002-07-10 00:54:02 +00:00
gavan dab70e6816 Support for new NBKernel filetype. The user can now double click a NetBSD
kernel to boot straight into that kernel.
2002-06-13 08:41:52 +00:00
gavan 679a365ac1 Rename file icon to match new filetype, and move towards conformance with
Acorn's Style Guide.
2002-06-13 08:34:29 +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
jdolecek b5d88aec48 Add some quotes. Not really necessary, but good practice. 2002-05-11 15:56:03 +00:00
jdolecek 7eb42527ea rename pling.Sprites*.uue to !Sprites*.uue 2002-05-11 15:49:40 +00:00
jdolecek 4637fa59f8 Fix the mountufs arguments. Problem reported and fix provided
by Patrick Welche in port-acorn32/16064.
2002-05-11 15:22:23 +00:00
jdolecek 3ab693f2b3 Switch over to distrib/acorn32/stand/BtNetBSD. Note the created archive is now
BtNetBSD.tar.Z - we don't have zip in tree, and RICS OS SparkPlug
doesn't support tgz. Change discussed with Reinoud.

Use ${.CURDIR} for path to gzip_ff8.bin.uue, so that this would work
with objdirs.
2002-05-09 20:22:26 +00:00
jdolecek fb0e4ab441 Reorganized BtNetBSD from sys/arch/acorn32/stand/BtNetBSD, converted
to use make(1) rather than a script to build the archive, to be
objdir aware and ro source tree safe.
2002-05-09 20:03:57 +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 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 bd567c94b3 switch to libhack. minor reorder of list 2002-04-13 13:25:30 +00:00
lukem a883050c70 use gzip -9f 2002-04-12 14:03:59 +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 2eb6ca7c0e use RELINSTALL from ../Makefile.inc 2002-04-11 06:40:48 +00:00
lukem ab48022dc6 for consistency reasons, pull in ${_SRC_TOP_}/distrib/Makefile.inc 2002-04-11 05:34:32 +00:00
lukem 01d824d7cb s/_SRC_TOP/&_/ . this typo is a monkey on my back ... :| 2002-04-11 05:26:17 +00:00
lukem 5aa16f7d61 tweak how distrib/Makefile.inc is pulled in 2002-04-10 15:26:44 +00:00
lukem b1d5aaab4c add .WAIT sync 2002-04-10 01:08:34 +00:00
lukem 8689328834 now unnecessary 2002-04-07 04:22:32 +00:00
lukem c3de1627be don't need ../Makefile.inc anymore
be consistent (with other distrib/* dirs) about temp file use
2002-04-07 04:21:22 +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
bjh21 008e9cfd5f Add 4k to ramdisk image. 2002-03-31 17:00:32 +00:00
reinoud 366e81869c When building the installation kernel make the resulting name of the
installation kernel more friendlier to RISC OS.
2002-03-19 11:50:45 +00:00
lukem deffb66504 parselist.awk
- improve comments
- provide a general purpose variable replacement; replace contents of ${FOO}
  with ENVIRON["FOO"].
- deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE}
  and ${MACHINE_ARCH} instead
- add errx() function; like err(), but doesn't print the line number
- invoke this script with various variables defined via PARSELISTENV

*/Makefile*
- use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR
- other minor tweaks

*/list*
- replace @MACHINE@ with ${MACHINE}
2002-03-14 22:26:08 +00:00
reinoud fc9881cf50 Created RAM discs are not versioned anymore .... 2002-03-12 14:28:27 +00:00
reinoud 86c61262b7 Remove the -p flag ... not interesting for install media 2002-03-12 12:53:08 +00:00
reinoud f671f099d7 Update the ramdisk building procedure after tips/hints of luke. 2002-03-12 12:44:19 +00:00
lukem d448399edb - set IMAGESIZE (grew by 24K) and a few more free inodes, as per discussion
with Reinoud
- minor reorder
2002-03-12 12:31:57 +00:00
lukem 41669694d3 restore functionality lost in my previous rototill:
run pwd_mkdb to provide full /etc/{s,}pwd.db rather than using libhack.

xxx; still not tested
2002-03-07 01:48:36 +00:00
lukem 9c0d5339f3 cleanup and use some more appropriate variables and targets 2002-03-06 13:27:22 +00:00