summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/Makefile
blob: 29178462331d1baf105a031c8f605d6c1cb30848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$OpenBSD: Makefile,v 1.15 2007/11/25 18:25:31 deraadt Exp $

.if ${MACHINE} == "i386"
SUBDIR=	etc libsa libz mbr cdbr
.endif
SUBDIR+= biosboot installboot boot pxeboot cdboot

test-fd0:
	sudo mount /dev/fd0a /mnt
	sudo cp /usr/mdec/boot /mnt
	sudo /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot fd0
	sudo umount /mnt

zero-fd0:
	sudo dd if=/dev/zero of=/dev/rfd0a count=144 bs=10240

prep-fd0:
	sudo disklabel -rw fd0 floppy
	sudo newfs -O 0 -m 0 -o space -i 3000 -c 80 /dev/rfd0a

.include <bsd.subdir.mk>