1 1.1 nia # $NetBSD: Makefile,v 1.1 2024/04/24 15:39:58 nia Exp $ 2 1.1 nia 3 1.1 nia .include <bsd.own.mk> 4 1.1 nia 5 1.1 nia CDBASE= sparc64dvd # gives ${CDBASE}.iso 6 1.1 nia CDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR 7 1.1 nia CDKERNELS= ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/netbsd-GENERIC.gz netbsd 8 1.1 nia CD_SETS= base etc 9 1.1 nia .if ${MKKMOD} != "no" 10 1.1 nia CD_SETS+= modules 11 1.1 nia .endif 12 1.1 nia 13 1.1 nia SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR} 14 1.1 nia 15 1.1 nia CDRELEASE_NOISOS= true 16 1.1 nia CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR} 17 1.1 nia CDBOOTIMAGE= ${CDBOOTIMAGEDIR}/boot.fs 18 1.1 nia SUN_BOOT_ARGS:= - - - - ${CDBOOTIMAGE} 19 1.1 nia 20 1.1 nia image_md_pre: 21 1.1 nia ${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc 22 1.1 nia ${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab 23 1.1 nia ${INSTALL} ${COPY} ${.CURDIR}/../installcd/etc.ttys cdrom/etc/ttys 24 1.1 nia ${INSTALL} ${COPY} ${.CURDIR}/../installcd/etc.rc cdrom/etc/rc 25 1.1 nia ${INSTALL} ${COPY} -m 0555 ${.CURDIR}/../installcd/install.sh cdrom/install.sh 26 1.1 nia ${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot 27 1.1 nia ${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/ 28 1.1 nia 29 1.1 nia image_md_post: 30 1.1 nia SUNLABEL=${TOOL_SUNLABEL:Q} \ 31 1.1 nia ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \ 32 1.1 nia ${CDIMAGE} ${SUN_BOOT_ARGS} 33 1.1 nia 34 1.1 nia .include "${.CURDIR}/../../../common/Makefile.bootcd" 35 1.1 nia 36