# $NetBSD: Makefile,v 1.26 2006/05/09 19:10:43 he Exp $ .include .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" .include .include "${.CURDIR}/../instfs/Makefile.instfs" IMAGE= miniroot.fs IMAGESIZE= 8m IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \ ${DESTDIR}/usr/mdec/bootblk IMAGE_RELEASEDIR= installation/miniroot CRUNCHBINDIR!= cd ${INSTFSDIR} && ${PRINTOBJDIR} LISTS+= ${.CURDIR}/list.miniroot IMAGEDEPENDS+= netbsd.gz ${CRUNCHBIN}: ${CRUNCHBINDIR}/${CRUNCHBIN} mkdir -p sysinst cp -p ${CRUNCHBINDIR}/sysinst/sysinstmsgs.* sysinst cp ${.ALLSRC} ${.TARGET} netbsd.gz: ${KERNOBJDIR}/GENERIC/netbsd -rm -f ${.TARGET} gzip -9c ${.ALLSRC} > ${.TARGET} clean: localclean localclean: rm -rf sysinst CLEANFILES+= ${CRUNCHBIN} netbsd.gz .include "${DISTRIBDIR}/common/Makefile.makedev" .include "${DISTRIBDIR}/common/Makefile.image" .include