Home | History | Annotate | Line # | Download | only in bootfs
Makefile revision 1.3
      1  1.3  lukem #	$NetBSD: Makefile,v 1.3 2002/11/18 12:39:54 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.1    eeh # boot.fs along with an ISO image with a correct .slicemapfile in
      9  1.1    eeh # the root directory need to be fed to mksunbootcd to get a workable
     10  1.1    eeh # CDROM image.
     11  1.1    eeh #
     12  1.1    eeh 
     13  1.1    eeh .include <bsd.own.mk>
     14  1.1    eeh .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
     15  1.1    eeh 
     16  1.1    eeh .include <bsd.kernobj.mk>
     17  1.1    eeh 
     18  1.1    eeh IMAGE=		boot.fs
     19  1.1    eeh IMAGESIZE=	4m
     20  1.1    eeh IMAGEENDIAN=	be
     21  1.1    eeh 
     22  1.1    eeh LISTS=		${.CURDIR}/list
     23  1.1    eeh MTREECONF=	${DISTRIBDIR}/common/mtree.dot
     24  1.1    eeh 
     25  1.1    eeh RAMDISKDIR!=	cd ${.CURDIR}/../instfs && ${PRINTOBJDIR}
     26  1.1    eeh RAMDISK=	${RAMDISKDIR}/install.fs
     27  1.1    eeh PRIMARYBOOT=	${DESTDIR}/usr/mdec/bootblk
     28  1.1    eeh 
     29  1.2  lukem PARSELISTENV=	RAMDISKDIR=${RAMDISKDIR:Q}
     30  1.3  lukem IMAGEDEPENDS=	${RAMDISKDIR}/netbsd-INSTALL.gz ${DESTDIR}/usr/mdec/ofwboot \
     31  1.1    eeh 		${PRIMARYBOOT}
     32  1.1    eeh IMAGEPOSTBUILD=	${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT} /boot
     33  1.1    eeh 
     34  1.1    eeh IMAGE_RELEASEDIR=	installation/misc
     35  1.1    eeh 
     36  1.1    eeh .include "${DISTRIBDIR}/common/Makefile.image"
     37  1.1    eeh 
     38  1.1    eeh .include <bsd.prog.mk>
     39