Home | History | Annotate | Line # | Download | only in bootfs
Makefile revision 1.1.2.1
      1 #	$NetBSD: Makefile,v 1.1.2.1 2002/06/10 16:30:21 tv 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 PARSELISTENV=	RAMDISKDIR=${RAMDISKDIR:Q}
     30 IMAGEDEPENDS=	${RAMDISKDIR}/netbsd.INSTALL.gz ${DESTDIR}/usr/mdec/ofwboot \
     31 		${PRIMARYBOOT}
     32 IMAGEPOSTBUILD=	${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT} /boot
     33 
     34 IMAGE_RELEASEDIR=	installation/misc
     35 
     36 .include "${DISTRIBDIR}/common/Makefile.image"
     37 
     38 .include <bsd.prog.mk>
     39