1#	$NetBSD: Makefile,v 1.1 2008/04/14 17:24:56 skrll Exp $
2#
3# boot.fs is the image for wd booting.
4#
5# It is constructed by packaging an INSTALL kernel into an ustarfs.
6#
7
8.include <bsd.own.mk>
9.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
10
11FLOPPYBASE=	boot
12FLOPPYSUFFIX=	.fs
13
14FLOPPYMAX=1
15FLOPPYSIZE=	8192
16FLOPPYMETAFILE!=	printf "USTAR.volsize.%o" ${FLOPPYSIZE}
17
18FLOPPYKERNEL=	netbsd-INSTALL.gz
19FLOPPYKERNDIR=	instkernel
20FLOPPYKERNOBJ!=	cd ${.CURDIR}/../${FLOPPYKERNDIR} && ${PRINTOBJDIR}
21
22MDEC=		${DESTDIR}/usr/mdec
23FLOPPYINSTBOOT=	"${TOOL_INSTALLBOOT} -m ${MACHINE} @IMAGE@ ${MDEC}/bootxx_ustarfs"
24
25FLOPPY_BOOT=	${MDEC}/boot
26FLOPPY_NETBSD=	${FLOPPYKERNOBJ}/${FLOPPYKERNEL}
27FLOPPYFILES=	boot ${FLOPPYMETAFILE} netbsd
28
29FLOPPY_RELEASEDIR=	installation/misc
30
31.include "${DISTRIBDIR}/common/Makefile.tarfloppy"
32
33.include <bsd.prog.mk>
34