11.4Schristos# $NetBSD: Makefile,v 1.4 2019/09/23 13:42:35 christos Exp $ 21.1SbouyerCDBASE= sgimipscd # gives ${CDBASE}.iso 31.4SchristosCDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR 41.3SmartinCDRELEASE_NODEBUG= true 51.1SbouyerCDKERNELS= netbsd-INSTALL32_IP2x.gz ip2x 61.1SbouyerCDKERNELS+= netbsd-INSTALL32_IP3x.gz ip3x 71.1SbouyerCDINSTKERNEL= ../../instkernel 81.1Sbouyer 91.1SbouyerSGIVOLHDR.size= 4096 101.1Sbouyer 111.1Sbouyerimage_md_post: 121.1Sbouyer @echo "Prepending SGI volume header:" 131.2Sjmcneill mv ${CDIMAGE} ${CDIMAGE}.tmp 141.2Sjmcneill dd if=/dev/zero of=${CDIMAGE} bs=512 count=${SGIVOLHDR.size} 151.2Sjmcneill dd if=${CDIMAGE}.tmp of=${CDIMAGE} bs=512 seek=${SGIVOLHDR.size} 161.2Sjmcneill ${TOOLDIR}/bin/nbsgivol -f -i -h ${SGIVOLHDR.size} ${CDIMAGE} 171.2Sjmcneill ${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot ${CDIMAGE} 181.2Sjmcneill ${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot ${CDIMAGE} 191.2Sjmcneill ${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot ${CDIMAGE} 201.2Sjmcneill ${RM} -f ${CDIMAGE}.tmp 211.1Sbouyer 221.1Sbouyer.include "${.CURDIR}/../../../common/Makefile.bootcd" 231.1Sbouyer 24