Makefile revision 1.1.6.2
1#	$NetBSD: Makefile,v 1.1.6.2 2008/06/02 13:21:14 mjf Exp $
2#
3# boot.fs is the image for wd booting.
4#
5# It is constructed by packaging an INSTALL kernel into a FFS
6# filesystem and slapping on a disklabel and bootblock.
7#
8
9.include <bsd.own.mk>
10.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
11
12.include <bsd.kernobj.mk>
13
14IMAGE=		boot.fs
15IMAGESIZE=	10m
16IMAGEENDIAN=	le
17
18LISTS=		${.CURDIR}/list
19MTREECONF=	${DISTRIBDIR}/common/mtree.dot
20
21RAMDISKDIR!=	cd ${.CURDIR}/../instkernel && ${PRINTOBJDIR}
22PRIMARYBOOT=	${DESTDIR}/usr/mdec/bootxx_ffsv1
23SECONDARYBOOT=	${DESTDIR}/usr/mdec/boot
24
25PARSELISTENV=	RAMDISKDIR=${RAMDISKDIR:Q}
26IMAGEDEPENDS=	${RAMDISKDIR}/netbsd-INSTALL.gz  \
27		${PRIMARYBOOT} ${SECONDARYBOOT}
28IMAGEPOSTBUILD=	${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \
29		${PRIMARYBOOT} ${SECONDARYBOOT}
30
31IMAGE_RELEASEDIR=	installation/misc
32
33.include "${DISTRIBDIR}/common/Makefile.image"
34
35.include <bsd.prog.mk>
36