Home | History | Annotate | Line # | Download | only in installcd
      1  1.4  christos #	$NetBSD: Makefile,v 1.4 2019/09/23 13:42:35 christos Exp $
      2  1.1    bouyer CDBASE=		sgimipscd		# gives ${CDBASE}.iso
      3  1.4  christos CDRELEASE=	true			# include $RELEASEDIR/$RELEASEMACHINEDIR
      4  1.3    martin CDRELEASE_NODEBUG=	true
      5  1.1    bouyer CDKERNELS=	netbsd-INSTALL32_IP2x.gz ip2x
      6  1.1    bouyer CDKERNELS+=	netbsd-INSTALL32_IP3x.gz ip3x
      7  1.1    bouyer CDINSTKERNEL=	../../instkernel
      8  1.1    bouyer 
      9  1.1    bouyer SGIVOLHDR.size= 4096
     10  1.1    bouyer 
     11  1.1    bouyer image_md_post:
     12  1.1    bouyer 	@echo "Prepending SGI volume header:"
     13  1.2  jmcneill 	mv ${CDIMAGE} ${CDIMAGE}.tmp
     14  1.2  jmcneill 	dd if=/dev/zero of=${CDIMAGE} bs=512 count=${SGIVOLHDR.size}
     15  1.2  jmcneill 	dd if=${CDIMAGE}.tmp of=${CDIMAGE} bs=512 seek=${SGIVOLHDR.size}
     16  1.2  jmcneill 	${TOOLDIR}/bin/nbsgivol -f -i -h ${SGIVOLHDR.size} ${CDIMAGE}
     17  1.2  jmcneill 	${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot ${CDIMAGE}
     18  1.2  jmcneill 	${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot ${CDIMAGE}
     19  1.2  jmcneill 	${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot ${CDIMAGE}
     20  1.2  jmcneill 	${RM} -f ${CDIMAGE}.tmp
     21  1.1    bouyer 
     22  1.1    bouyer .include "${.CURDIR}/../../../common/Makefile.bootcd"
     23  1.1    bouyer 
     24