Home | History | Annotate | Line # | Download | only in bootfs
Makefile revision 1.4
      1  1.4  lukem #	$NetBSD: Makefile,v 1.4 2003/03/07 09:49:34 lukem 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.1    eeh IMAGESIZE=	4m
     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.3  lukem IMAGEDEPENDS=	${RAMDISKDIR}/netbsd-INSTALL.gz ${DESTDIR}/usr/mdec/ofwboot \
     30  1.1    eeh 		${PRIMARYBOOT}
     31  1.1    eeh IMAGEPOSTBUILD=	${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT} /boot
     32  1.1    eeh 
     33  1.1    eeh IMAGE_RELEASEDIR=	installation/misc
     34  1.1    eeh 
     35  1.1    eeh .include "${DISTRIBDIR}/common/Makefile.image"
     36  1.1    eeh 
     37  1.1    eeh .include <bsd.prog.mk>
     38