1 # $NetBSD: Makefile,v 1.5 2003/07/10 10:34:14 lukem Exp $
3 # boot.fs is the image for cdrom booting.
5 # It is constructed by packaging an INSTALL kernel and ofwboot together
6 # into a FFS filesystem and slapping on a disklabel and bootblock.
8 # boot.fs along with an ISO image need to be fed to distrib/common/sunbootcd.sh
9 # to get a workable CDROM image.
13 .
include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
15 .
include <bsd.kernobj.mk
>
21 LISTS
= ${.CURDIR
}/list
22 MTREECONF
= ${DISTRIBDIR}/common
/mtree.dot
24 RAMDISKDIR
!= cd
${.CURDIR
}/..
/instfs
&& ${PRINTOBJDIR}
25 RAMDISK
= ${RAMDISKDIR}/install.fs
26 PRIMARYBOOT
= ${DESTDIR}/usr
/mdec
/bootblk
28 PARSELISTENV
= RAMDISKDIR
=${RAMDISKDIR
:Q
}
29 IMAGEDEPENDS
= ${RAMDISKDIR}/netbsd-INSTALL.gz
${DESTDIR}/usr
/mdec
/ofwboot \
31 IMAGEPOSTBUILD
= ${TOOL_INSTALLBOOT} -v
-m
${MACHINE} ${IMAGE} ${PRIMARYBOOT} /boot
33 IMAGE_RELEASEDIR
= installation
/misc
35 .
include "${DISTRIBDIR}/common/Makefile.image"
37 .
include <bsd.prog.mk
>