Makefile revision 1.2
11.2Sjmcneill# $NetBSD: Makefile,v 1.2 2012/01/15 22:34:34 jmcneill Exp $ 21.1SbouyerCDBASE= sgimipscd # gives ${CDBASE}.iso 31.1SbouyerCDRELEASE= true # include $RELEASEDIR/$MACHINE 41.1SbouyerCDKERNELS= netbsd-INSTALL32_IP2x.gz ip2x 51.1SbouyerCDKERNELS+= netbsd-INSTALL32_IP3x.gz ip3x 61.1SbouyerCDINSTKERNEL= ../../instkernel 71.1Sbouyer 81.1SbouyerSGIVOLHDR.size= 4096 91.1Sbouyer 101.1Sbouyerimage_md_post: 111.1Sbouyer @echo "Prepending SGI volume header:" 121.2Sjmcneill mv ${CDIMAGE} ${CDIMAGE}.tmp 131.2Sjmcneill dd if=/dev/zero of=${CDIMAGE} bs=512 count=${SGIVOLHDR.size} 141.2Sjmcneill dd if=${CDIMAGE}.tmp of=${CDIMAGE} bs=512 seek=${SGIVOLHDR.size} 151.2Sjmcneill ${TOOLDIR}/bin/nbsgivol -f -i -h ${SGIVOLHDR.size} ${CDIMAGE} 161.2Sjmcneill ${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot ${CDIMAGE} 171.2Sjmcneill ${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot ${CDIMAGE} 181.2Sjmcneill ${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot ${CDIMAGE} 191.2Sjmcneill ${RM} -f ${CDIMAGE}.tmp 201.1Sbouyer 211.1Sbouyer.include "${.CURDIR}/../../../common/Makefile.bootcd" 221.1Sbouyer 23