Home | History | Annotate | Line # | Download | only in bootfs
      1 #	$NetBSD: Makefile,v 1.2 2009/04/23 14:14:35 tsutsui Exp $
      2 #
      3 # boot.fs is the image for wd booting.
      4 #
      5 # It is constructed by packaging an INSTALL kernel into an ustarfs.
      6 #
      7 
      8 .include <bsd.own.mk>
      9 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
     10 
     11 FLOPPYBASE=	boot
     12 FLOPPYSUFFIX=	.fs
     13 
     14 FLOPPYMAX=1
     15 FLOPPYSIZE=	8192
     16 FLOPPYMETAFILE!=	printf "USTAR.volsize.%o" ${FLOPPYSIZE}
     17 
     18 FLOPPYKERNEL=	netbsd-INSTALL.gz
     19 FLOPPYKERNDIR=	instkernel
     20 FLOPPYKERNOBJ!=	cd ${.CURDIR}/../${FLOPPYKERNDIR} && ${PRINTOBJDIR}
     21 
     22 MDEC=		${DESTDIR}/usr/mdec
     23 FLOPPYINSTBOOT=	"${TOOL_INSTALLBOOT} -m ${MACHINE} @IMAGE@ ${MDEC}/bootxx_ustarfs"
     24 
     25 FLOPPY_BOOT=	${MDEC}/boot
     26 FLOPPY_NETBSD=	${FLOPPYKERNOBJ}/${FLOPPYKERNEL}
     27 FLOPPYFILES=	boot ${FLOPPYMETAFILE} netbsd
     28 
     29 FLOPPY_RELEASEDIR=	installation/misc
     30 
     31 .include "${DISTRIBDIR}/common/Makefile.tarfloppy"
     32 
     33 .include <bsd.prog.mk>
     34