11.46Spgoyette# $NetBSD: Makefile.cdrom,v 1.46 2025/05/05 03:48:14 pgoyette Exp $ 21.5Sad 31.5Sad.include <bsd.own.mk> 41.5Sad 51.30SdhollandSYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR} 61.8Sad 71.6Sad# Need multidot for the boot loader to read kernel modules as it doesn't 81.6Sad# understand rockridge. 91.6SadCDMAKEFSOPTIONS= bootimage=i386;bootxx.${MACHINE},no-emul-boot,allow-multidot 101.6SadCDINSTKERNEL= ../../instkernel 111.45Spgoyette.if ${KERNEL_DIR:Uno} == "yes" 121.45SpgoyetteCDKERNELS= netbsd-GENERIC.gz netbsd/kernel 131.45SpgoyetteCDKERNELS+= netbsd-GENERIC.symbols.gz netbsd/kernel.gdb 141.45Spgoyette.else 151.45SpgoyetteCDKERNELS= netbsd-GENERIC.gz netbsd 161.45Spgoyette.endif 171.6SadCDRELEASE_NOISOS= true 181.43SniaCD_SETS+= base etc gpufw 191.1Sbouyer 201.46Spgoyette.if ${KERNEL_DIR:Uno} == "yes" 211.46SpgoyetteSPEC_EXTRA:=${.PARSEDIR}/spec-dir.in 221.46Spgoyette.else 231.44SchristosSPEC_EXTRA:=${.PARSEDIR}/spec.in 241.46Spgoyette.endif 251.44Schristos 261.7Sadimage_md_pre: 271.37Smartin ${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc cdrom/install.sh 281.18Smartin ${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab 291.20She ${INSTALL} ${COPY} ${.CURDIR}/../etc.ttys cdrom/etc/ttys 301.20She ${INSTALL} ${COPY} ${.CURDIR}/../etc.rc cdrom/etc/rc 311.20She ${INSTALL} ${COPY} -m 0555 ${.CURDIR}/../install.sh cdrom/install.sh 321.41Schristos ${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot 331.39Smartin ${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/ 341.41Schristos ${MKDIR} ${MKDIRPERM} cdrom/var 35