summaryrefslogtreecommitdiffstats
path: root/sys/i386/boot/Makefile
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>1994-08-21 17:47:26 +0000
committerpaul <paul@FreeBSD.org>1994-08-21 17:47:26 +0000
commiteb40903ae1b0169f8a1d4e210481c1d3b0f4a715 (patch)
tree679800aa3f0e3d401be5eca69c5551db4e3b80bf /sys/i386/boot/Makefile
parentcc2a9a6486a9efb4e8b199fa0e2736d26369beeb (diff)
downloadFreeBSD-src-eb40903ae1b0169f8a1d4e210481c1d3b0f4a715.zip
FreeBSD-src-eb40903ae1b0169f8a1d4e210481c1d3b0f4a715.tar.gz
Fixed bootblocks to work with FreeBSD 2.0
1) Fixed up some header locations 2) Replaced list of boot files with /kernel 3) Changed disklabel use in Makefile to conform to 4.4 4) Added size command in Makefile to get close estimate of bootblock sizes. Total size of text and data must be below 64K, slightly overestimated since a.out header subsequently gets stripped. 5) Various buffer sizes are set to 8192 bytes in sys.c. In 4.4 MAXBSIZE is set to 64K which is too big for the bootblocks to deal with. Submitted by: Paul Richards
Diffstat (limited to 'sys/i386/boot/Makefile')
-rw-r--r--sys/i386/boot/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/i386/boot/Makefile b/sys/i386/boot/Makefile
index 568c747..228447f 100644
--- a/sys/i386/boot/Makefile
+++ b/sys/i386/boot/Makefile
@@ -20,13 +20,13 @@
# the rights to redistribute these changes.
#
# from: Mach, Revision 2.2 92/04/04 11:33:46 rpd
-# $Id: Makefile,v 1.9 1994/06/16 03:53:24 adam Exp $
+# $Id: Makefile,v 1.10 1994/06/20 04:32:40 jkh Exp $
#
wd0:
dd if=boot of=biosboot count=1
dd if=boot of=bootbios skip=1
- disklabel -r -w wd0 nec5655 newboot biosboot bootbios
+ disklabel -B -b biosboot -s bootbios wd0 nec5655
rm biosboot bootbios
NOPROG= noprog
@@ -54,6 +54,7 @@ boot: $(OBJS)
$(LD) -Bstatic -N -T 0 -o boot $(OBJS) $(LIBS)
cp boot boot.sym
@strip boot
+ @size boot
@sh ${.CURDIR}/rmaouthdr boot boot.tmp
@mv -f boot.tmp boot
@ls -l boot
@@ -95,7 +96,7 @@ all: biosboot bootbios
fd0:
dd if=boot of=biosboot count=1
dd if=boot of=bootbios skip=1
- disklabel -r -w fd0 floppy bootflpy biosboot bootbios
+ disklabel -B -b biosboot -s bootbios fd0 floppy
rm biosboot bootbios
install: wd sd fd
OpenPOWER on IntegriCloud