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