Makefile revision 1.2
11.2Slukem#	$NetBSD: Makefile,v 1.2 2002/06/09 04:28:58 lukem 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.2SlukemPARSELISTENV=	RAMDISKDIR=${RAMDISKDIR:Q}
301.1SeehIMAGEDEPENDS=	${RAMDISKDIR}/netbsd.INSTALL.gz ${DESTDIR}/usr/mdec/ofwboot \
311.1Seeh		${PRIMARYBOOT}
321.1SeehIMAGEPOSTBUILD=	${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT} /boot
331.1Seeh
341.1SeehIMAGE_RELEASEDIR=	installation/misc
351.1Seeh
361.1Seeh.include "${DISTRIBDIR}/common/Makefile.image"
371.1Seeh
381.1Seeh.include <bsd.prog.mk>
39