Makefile revision 1.28
11.28Schristos#	$NetBSD: Makefile,v 1.28 2017/02/10 16:43:59 christos Exp $
21.27Smartin
31.27Smartin.include <bsd.own.mk>
41.27Smartin
51.1SbouyerCDBASE=		sparc64cd		# gives ${CDBASE}.iso
61.1SbouyerCDRELEASE=	true			# include $RELEASEDIR/$MACHINE
71.24SmartinCDKERNELS=	${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-GENERIC.gz	netbsd
81.27SmartinCD_SETS=	base etc
91.27Smartin.if ${MKKMOD} != "no"
101.27SmartinCD_SETS+=	modules
111.27Smartin.endif
121.1Sbouyer
131.18SdhollandSYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
141.2Smartin
151.2SmartinCDRELEASE_NOISOS=	true
161.1SbouyerCDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
171.1SbouyerCDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
181.1SbouyerSUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}
191.2Smartin
201.2Smartinimage_md_pre:
211.24Smartin	${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
221.4Smartin	${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
231.7She	${INSTALL} ${COPY} ${.CURDIR}/etc.ttys cdrom/etc/ttys
241.7She	${INSTALL} ${COPY} ${.CURDIR}/etc.rc cdrom/etc/rc
251.7She	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/install.sh cdrom/install.sh
261.28Schristos	${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot
271.26Smartin	${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/
281.2Smartin
291.1Sbouyerimage_md_post:
301.1Sbouyer	SUNLABEL=${TOOL_SUNLABEL:Q} \
311.1Sbouyer		${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
321.14Sjmcneill		${CDIMAGE} ${SUN_BOOT_ARGS}
331.1Sbouyer
341.1Sbouyer.include "${.CURDIR}/../../../common/Makefile.bootcd"
351.24Smartin
36