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