1 # $NetBSD: Makefile,v 1.1 2008/04/14 17:24:56 skrll Exp $ 2 # 3 # boot.fs is the image for wd booting. 4 # 5 # It is constructed by packaging an INSTALL kernel into a FFS 6 # filesystem and slapping on a disklabel and bootblock. 7 # 8 9 .include <bsd.own.mk> 10 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 11 12 .include <bsd.kernobj.mk> 13 14 IMAGE= boot.fs 15 IMAGESIZE= 10m 16 IMAGEENDIAN= le 17 18 LISTS= ${.CURDIR}/list 19 MTREECONF= ${DISTRIBDIR}/common/mtree.dot 20 21 RAMDISKDIR!= cd ${.CURDIR}/../instkernel && ${PRINTOBJDIR} 22 PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffsv1 23 SECONDARYBOOT= ${DESTDIR}/usr/mdec/boot 24 25 PARSELISTENV= RAMDISKDIR=${RAMDISKDIR:Q} 26 IMAGEDEPENDS= ${RAMDISKDIR}/netbsd-INSTALL.gz \ 27 ${PRIMARYBOOT} ${SECONDARYBOOT} 28 IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \ 29 ${PRIMARYBOOT} ${SECONDARYBOOT} 30 31 IMAGE_RELEASEDIR= installation/misc 32 33 .include "${DISTRIBDIR}/common/Makefile.image" 34 35 .include <bsd.prog.mk> 36