Makefile revision 1.1
11.1Snia#	$NetBSD: Makefile,v 1.1 2024/04/24 15:39:58 nia Exp $
21.1Snia
31.1Snia.include <bsd.own.mk>
41.1Snia
51.1SniaCDBASE=		sparc64dvd		# gives ${CDBASE}.iso
61.1SniaCDRELEASE=	true			# include $RELEASEDIR/$RELEASEMACHINEDIR
71.1SniaCDKERNELS=	${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/netbsd-GENERIC.gz	netbsd
81.1SniaCD_SETS=	base etc
91.1Snia.if ${MKKMOD} != "no"
101.1SniaCD_SETS+=	modules
111.1Snia.endif
121.1Snia
131.1SniaSYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
141.1Snia
151.1SniaCDRELEASE_NOISOS=	true
161.1SniaCDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
171.1SniaCDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
181.1SniaSUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}
191.1Snia
201.1Sniaimage_md_pre:
211.1Snia	${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
221.1Snia	${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
231.1Snia	${INSTALL} ${COPY} ${.CURDIR}/../installcd/etc.ttys cdrom/etc/ttys
241.1Snia	${INSTALL} ${COPY} ${.CURDIR}/../installcd/etc.rc cdrom/etc/rc
251.1Snia	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/../installcd/install.sh cdrom/install.sh
261.1Snia	${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot
271.1Snia	${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/
281.1Snia
291.1Sniaimage_md_post:
301.1Snia	SUNLABEL=${TOOL_SUNLABEL:Q} \
311.1Snia		${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
321.1Snia		${CDIMAGE} ${SUN_BOOT_ARGS}
331.1Snia
341.1Snia.include "${.CURDIR}/../../../common/Makefile.bootcd"
351.1Snia
36