No empty .Rs/.Re
[netbsd-mini2440.git] / distrib / sgimips / cdroms / installcd / Makefile
blobb33256bfdeba4d06e070de4147a6d742289ecfa2
1 # $NetBSD: $
2 CDBASE= sgimipscd # gives ${CDBASE}.iso
3 CDRELEASE= true # include $RELEASEDIR/$MACHINE
4 CDKERNELS= netbsd-INSTALL32_IP2x.gz ip2x
5 CDKERNELS+= netbsd-INSTALL32_IP3x.gz ip3x
6 CDINSTKERNEL= ../../instkernel
8 SGIVOLHDR.size= 4096
10 image_md_post:
11 @echo "Prepending SGI volume header:"
12 mv ${CDBASE}.iso ${CDBASE}.iso.tmp
13 dd if=/dev/zero of=${CDBASE}.iso bs=512 count=${SGIVOLHDR.size}
14 dd if=${CDBASE}.iso.tmp of=${CDBASE}.iso bs=512 seek=${SGIVOLHDR.size}
15 ${TOOLDIR}/bin/nbsgivol -f -i -h ${SGIVOLHDR.size} ${CDBASE}.iso
16 ${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot ${CDBASE}.iso
17 ${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot ${CDBASE}.iso
18 ${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot ${CDBASE}.iso
19 ${RM} -f ${CDBASE}.iso.tmp
21 .include "${.CURDIR}/../../../common/Makefile.bootcd"