Makefile revision 1.24
11.24Smartin#	$NetBSD: Makefile,v 1.24 2015/05/25 15:38:33 martin Exp $
21.1SbouyerCDBASE=		sparc64cd		# gives ${CDBASE}.iso
31.1SbouyerCDRELEASE=	true			# include $RELEASEDIR/$MACHINE
41.24SmartinCDKERNELS=	${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-GENERIC.gz	netbsd
51.1Sbouyer
61.1Sbouyer# for PRINTOBJDIR
71.1Sbouyer.include <bsd.own.mk>
81.1Sbouyer
91.18SdhollandSYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
101.2Smartin
111.2SmartinCDRELEASE_NOISOS=	true
121.1SbouyerCDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
131.1SbouyerCDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
141.1SbouyerSUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}
151.2Smartin
161.2Smartinimage_md_pre:
171.24Smartin	${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
181.4Smartin	${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
191.7She	${INSTALL} ${COPY} ${.CURDIR}/etc.ttys cdrom/etc/ttys
201.7She	${INSTALL} ${COPY} ${.CURDIR}/etc.rc cdrom/etc/rc
211.7She	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/install.sh cdrom/install.sh
221.2Smartin	${MKDIR} cdrom/mnt2 cdrom/targetroot
231.7She	${INSTALL} ${COPY} -m 0555 ${SYSINSTDIR}/sysinst cdrom
241.6She	for f in ${SYSINSTDIR}/sysinstmsgs.??; do \
251.7She		${INSTALL} ${COPY} $$f cdrom; \
261.6She	done
271.2Smartin
281.1Sbouyerimage_md_post:
291.1Sbouyer	SUNLABEL=${TOOL_SUNLABEL:Q} \
301.1Sbouyer		${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
311.14Sjmcneill		${CDIMAGE} ${SUN_BOOT_ARGS}
321.1Sbouyer
331.1Sbouyer.include "${.CURDIR}/../../../common/Makefile.bootcd"
341.24Smartin
35