Makefile revision 1.31
11.31Schristos#	$NetBSD: Makefile,v 1.31 2019/09/23 13:42:35 christos Exp $
21.27Smartin
31.27Smartin.include <bsd.own.mk>
41.27Smartin
51.1SbouyerCDBASE=		sparc64cd		# gives ${CDBASE}.iso
61.31SchristosCDRELEASE=	true			# include $RELEASEDIR/$RELEASEMACHINEDIR
71.30SmartinCDRELEASE_NODEBUG=	true
81.31SchristosCDKERNELS=	${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/netbsd-GENERIC.gz	netbsd
91.27SmartinCD_SETS=	base etc
101.27Smartin.if ${MKKMOD} != "no"
111.27SmartinCD_SETS+=	modules
121.27Smartin.endif
131.1Sbouyer
141.18SdhollandSYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
151.2Smartin
161.2SmartinCDRELEASE_NOISOS=	true
171.1SbouyerCDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
181.1SbouyerCDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
191.1SbouyerSUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}
201.2Smartin
211.2Smartinimage_md_pre:
221.24Smartin	${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
231.4Smartin	${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
241.7She	${INSTALL} ${COPY} ${.CURDIR}/etc.ttys cdrom/etc/ttys
251.7She	${INSTALL} ${COPY} ${.CURDIR}/etc.rc cdrom/etc/rc
261.7She	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/install.sh cdrom/install.sh
271.28Schristos	${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot
281.26Smartin	${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/
291.2Smartin
301.1Sbouyerimage_md_post:
311.1Sbouyer	SUNLABEL=${TOOL_SUNLABEL:Q} \
321.1Sbouyer		${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
331.14Sjmcneill		${CDIMAGE} ${SUN_BOOT_ARGS}
341.1Sbouyer
351.1Sbouyer.include "${.CURDIR}/../../../common/Makefile.bootcd"
361.24Smartin
37