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