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