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