Commit Graph

93 Commits

Author SHA1 Message Date
jmc
b1e985536f Make this work on non-native (ala linux/others) hosts. Pass TOOL_MKTEMP in as
well
2004-11-10 03:55:28 +00:00
gavan
2fa949cdaf Stat is a host tool, so pick it up from the right place.
While we're at it, check for some common errors, and make the usage stuff
work better.
2004-08-24 21:32:12 +00:00
jmc
84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
abs
9b9b2d2ca5 Ensure tmp/BtNetBSD depends on ${UUDECODE_FILES} so "make release" works 2004-06-10 20:18:33 +00:00
abs
e410ecabc5 Quote some filenames (committed for gavan) 2004-06-10 07:44:25 +00:00
abs
1e0805b132 Finish conversion from old bootloader - remove command line options that boot32
will not understand
2004-06-10 07:43:39 +00:00
abs
7e67ece2ca Set Alias$@RunType_1a9 here as well as !Boot, so the application can be
double clicked to override a value previously set by a copy in a different
location.
2004-06-10 07:42:47 +00:00
abs
c6f7189859 Include David Pilling's BASIC self extracting SparkPlug sparkive extractor.
(It is freely distributable in unmodified form)
This should allow NetBSD to be booted on a RiscPC with nothing other than
the built in ROM software and a NetBSD CD. Disk partitioning between RISC OS
and NetBSD may be a task for another day.

While we are here use ${HOST_SH} to invoke mksparkive.sh
2004-06-09 16:10:40 +00:00
gavan
77bece7e91 Don't attempt to use UnixFS, as it no longer works with recent filesystem
changes.
2004-06-08 22:56:59 +00:00
gavan
41c82be3dd Remove Settype and SettScr. Filetypes are now set in the archive, so
don't need to be set after the archive is extracted.
2004-06-08 22:29:20 +00:00
gavan
ad3e8247cb Add boot32.
Also, s/RiscBSD/NetBSD/
2004-06-08 22:27:16 +00:00
gavan
022ff820f6 Implement CRC. 2004-06-08 22:12:13 +00:00
gavan
6e7390a475 Ship boot32 in the bootloader application, and use it in preference to
BtNetBSD.
2004-06-08 21:57:25 +00:00
gavan
df93781866 bb_netbsd is a BASIC program, not an Obey file. 2004-06-08 21:38:10 +00:00
gavan
db7f3619e3 Support compression. 2004-06-08 19:31:56 +00:00
gavan
315312af5e Set filetypes appropriately, and create a Spark archive instead of a
tar.Z archive.

Also, fix the uudecode of !Sprites and !Sprites22 by renaming, as
bsd.files.mk fails silently on filenames beginning with an exclamation
mark. The change to using bsd.files.mk also appears to have left the
uuencoded source files in the final archive - remove these.

Note that this still ships the old bootloader - this should be addressed
in a subsequent commit.
2004-05-26 23:58:35 +00:00
gavan
3ffa5e3a14 Don't use full pathname as template for mktemp. 2004-05-26 23:46:16 +00:00
gavan
16cd5129d4 Basic shell script to produce uncompressed spark archive with correct
filetypes for RISC OS.
2004-05-25 23:03:42 +00:00
wiz
3f9411f688 Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
jmc
4bcd62da74 Rename Banner.uue to banner.uue so it doesn't lose on .PATH lookups 2004-03-30 06:08:58 +00:00
jmc
40751e336f Rename for sanity's sake. (all other files match their .uue name here) 2004-03-24 23:41:57 +00:00
jmc
a14b1995df Clean this up to use .PATH directives instead 2004-03-20 02:55:21 +00:00
jmc
6fe4ead562 Convert to usage of UUDECODE_FILES and standardize on filename extension 2004-03-19 08:07:22 +00:00
wiz
516a72484d Spell through with two hs. From Peter Postma. 2004-02-24 15:24:35 +00:00
martin
0d54d60a48 Add -lz, now needed by gzip. 2003-12-25 11:14:36 +00:00
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