1# $NetBSD: Makefile,v 1.6 2006/06/08 08:40:39 he Exp $ 2# 3# boot.fs is the image for cdrom booting. 4# 5# It is constructed by packaging an INSTALL kernel and ofwboot together 6# into a FFS filesystem and slapping on a disklabel and bootblock. 7# 8# boot.fs along with an ISO image need to be fed to distrib/common/sunbootcd.sh 9# to get a workable CDROM image. 10# 11 12.include <bsd.own.mk> 13.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 14 15.include <bsd.kernobj.mk> 16 17IMAGE= boot.fs 18IMAGESIZE= 5m 19IMAGEENDIAN= be 20 21LISTS= ${.CURDIR}/list 22MTREECONF= ${DISTRIBDIR}/common/mtree.dot 23 24RAMDISKDIR!= cd ${.CURDIR}/../instfs && ${PRINTOBJDIR} 25RAMDISK= ${RAMDISKDIR}/install.fs 26PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootblk 27 28PARSELISTENV= RAMDISKDIR=${RAMDISKDIR:Q} 29IMAGEDEPENDS= ${RAMDISKDIR}/netbsd-INSTALL.gz ${DESTDIR}/usr/mdec/ofwboot \ 30 ${PRIMARYBOOT} 31IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT} /boot 32 33IMAGE_RELEASEDIR= installation/misc 34 35.include "${DISTRIBDIR}/common/Makefile.image" 36 37.include <bsd.prog.mk> 38