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