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