Makefile revision 1.1
11.1Seeh#	$NetBSD: Makefile,v 1.1 2002/05/20 21:50:10 eeh Exp $
21.1Seeh#
31.1Seeh# boot.fs is the image for cdrom booting.
41.1Seeh#
51.1Seeh# It is constructed by packaging an INSTALL kernel and ofwboot together
61.1Seeh# into a FFS filesystem and slapping on a disklabel and bootblock.
71.1Seeh#
81.1Seeh# boot.fs along with an ISO image with a correct .slicemapfile in
91.1Seeh# the root directory need to be fed to mksunbootcd to get a workable
101.1Seeh# CDROM image.
111.1Seeh#
121.1Seeh
131.1Seeh.include <bsd.own.mk>
141.1Seeh.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
151.1Seeh
161.1Seeh.include <bsd.kernobj.mk>
171.1Seeh
181.1SeehIMAGE=		boot.fs
191.1SeehIMAGESIZE=	4m
201.1SeehIMAGEENDIAN=	be
211.1Seeh
221.1SeehLISTS=		${.CURDIR}/list
231.1SeehMTREECONF=	${DISTRIBDIR}/common/mtree.dot
241.1Seeh
251.1SeehRAMDISKDIR!=	cd ${.CURDIR}/../instfs && ${PRINTOBJDIR}
261.1SeehRAMDISK=	${RAMDISKDIR}/install.fs
271.1SeehPRIMARYBOOT=	${DESTDIR}/usr/mdec/bootblk
281.1Seeh
291.1SeehIMAGEDEPENDS=	${RAMDISKDIR}/netbsd.INSTALL.gz ${DESTDIR}/usr/mdec/ofwboot \
301.1Seeh		${PRIMARYBOOT}
311.1SeehIMAGEPOSTBUILD=	${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT} /boot
321.1Seeh
331.1SeehIMAGE_RELEASEDIR=	installation/misc
341.1Seeh
351.1Seeh.include "${DISTRIBDIR}/common/Makefile.image"
361.1Seeh
371.1Seeh.include <bsd.prog.mk>
38