1 1.1 bouyer # $NetBSD: Makefile,v 1.1 2007/03/06 21:57:22 bouyer Exp $ 2 1.1 bouyer CDBASE= sgimipscd # gives ${CDBASE}.iso 3 1.1 bouyer CDRELEASE= true # include $RELEASEDIR/$MACHINE 4 1.1 bouyer CDKERNELS= netbsd-INSTALL32_IP2x.gz ip2x 5 1.1 bouyer CDKERNELS+= netbsd-INSTALL32_IP3x.gz ip3x 6 1.1 bouyer CDINSTKERNEL= ../../instkernel 7 1.1 bouyer 8 1.1 bouyer SGIVOLHDR.size= 4096 9 1.1 bouyer 10 1.1 bouyer image_md_post: 11 1.1 bouyer @echo "Prepending SGI volume header:" 12 1.1 bouyer mv ${CDBASE}.iso ${CDBASE}.iso.tmp 13 1.1 bouyer dd if=/dev/zero of=${CDBASE}.iso bs=512 count=${SGIVOLHDR.size} 14 1.1 bouyer dd if=${CDBASE}.iso.tmp of=${CDBASE}.iso bs=512 seek=${SGIVOLHDR.size} 15 1.1 bouyer ${TOOLDIR}/bin/nbsgivol -f -i -h ${SGIVOLHDR.size} ${CDBASE}.iso 16 1.1 bouyer ${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot ${CDBASE}.iso 17 1.1 bouyer ${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot ${CDBASE}.iso 18 1.1 bouyer ${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot ${CDBASE}.iso 19 1.1 bouyer ${RM} -f ${CDBASE}.iso.tmp 20 1.1 bouyer 21 1.1 bouyer .include "${.CURDIR}/../../../common/Makefile.bootcd" 22 1.1 bouyer 23