Makefile revision 1.32
11.32Snia#	$NetBSD: Makefile,v 1.32 2024/04/23 12:25:57 nia 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.32SniaCDRELEASE_NOCOMPAT=	true
91.31SchristosCDKERNELS=	${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/netbsd-GENERIC.gz	netbsd
101.27SmartinCD_SETS=	base etc
111.27Smartin.if ${MKKMOD} != "no"
121.27SmartinCD_SETS+=	modules
131.27Smartin.endif
141.1Sbouyer
151.18SdhollandSYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
161.2Smartin
171.2SmartinCDRELEASE_NOISOS=	true
181.1SbouyerCDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
191.1SbouyerCDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
201.1SbouyerSUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}
211.2Smartin
221.2Smartinimage_md_pre:
231.24Smartin	${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
241.4Smartin	${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
251.7She	${INSTALL} ${COPY} ${.CURDIR}/etc.ttys cdrom/etc/ttys
261.7She	${INSTALL} ${COPY} ${.CURDIR}/etc.rc cdrom/etc/rc
271.7She	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/install.sh cdrom/install.sh
281.28Schristos	${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot
291.26Smartin	${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/
301.2Smartin
311.1Sbouyerimage_md_post:
321.1Sbouyer	SUNLABEL=${TOOL_SUNLABEL:Q} \
331.1Sbouyer		${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
341.14Sjmcneill		${CDIMAGE} ${SUN_BOOT_ARGS}
351.1Sbouyer
361.1Sbouyer.include "${.CURDIR}/../../../common/Makefile.bootcd"
371.24Smartin
38