Home | History | Annotate | Line # | Download | only in installcd
Makefile revision 1.1.40.1
      1  1.1.40.1  msaitoh #	$NetBSD: Makefile,v 1.1.40.1 2014/11/08 12:26:37 msaitoh 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.40.1  msaitoh 	mv ${CDIMAGE} ${CDIMAGE}.tmp
     13  1.1.40.1  msaitoh 	dd if=/dev/zero of=${CDIMAGE} bs=512 count=${SGIVOLHDR.size}
     14  1.1.40.1  msaitoh 	dd if=${CDIMAGE}.tmp of=${CDIMAGE} bs=512 seek=${SGIVOLHDR.size}
     15  1.1.40.1  msaitoh 	${TOOLDIR}/bin/nbsgivol -f -i -h ${SGIVOLHDR.size} ${CDIMAGE}
     16  1.1.40.1  msaitoh 	${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot ${CDIMAGE}
     17  1.1.40.1  msaitoh 	${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot ${CDIMAGE}
     18  1.1.40.1  msaitoh 	${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot ${CDIMAGE}
     19  1.1.40.1  msaitoh 	${RM} -f ${CDIMAGE}.tmp
     20       1.1   bouyer 
     21       1.1   bouyer .include "${.CURDIR}/../../../common/Makefile.bootcd"
     22       1.1   bouyer 
     23