Cross Reference: Makefile
xref: /src/distrib/sgimips/cdroms/installcd/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/sgimips/cdroms/installcd/
Makefile revision 1.1
11.1Sbouyer#	$NetBSD: Makefile,v 1.1 2007/03/06 21:57:22 bouyer Exp $
21.1SbouyerCDBASE=		sgimipscd		# gives ${CDBASE}.iso
31.1SbouyerCDRELEASE=	true			# include $RELEASEDIR/$MACHINE
41.1SbouyerCDKERNELS=	netbsd-INSTALL32_IP2x.gz ip2x
51.1SbouyerCDKERNELS+=	netbsd-INSTALL32_IP3x.gz ip3x
61.1SbouyerCDINSTKERNEL=	../../instkernel
71.1Sbouyer
81.1SbouyerSGIVOLHDR.size= 4096
91.1Sbouyer
101.1Sbouyerimage_md_post:
111.1Sbouyer	@echo "Prepending SGI volume header:"
121.1Sbouyer	mv ${CDBASE}.iso ${CDBASE}.iso.tmp
131.1Sbouyer	dd if=/dev/zero of=${CDBASE}.iso bs=512 count=${SGIVOLHDR.size}
141.1Sbouyer	dd if=${CDBASE}.iso.tmp of=${CDBASE}.iso bs=512 seek=${SGIVOLHDR.size}
151.1Sbouyer	${TOOLDIR}/bin/nbsgivol -f -i -h ${SGIVOLHDR.size} ${CDBASE}.iso
161.1Sbouyer	${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot ${CDBASE}.iso
171.1Sbouyer	${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot ${CDBASE}.iso
181.1Sbouyer	${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot ${CDBASE}.iso
191.1Sbouyer	${RM} -f ${CDBASE}.iso.tmp
201.1Sbouyer
211.1Sbouyer.include "${.CURDIR}/../../../common/Makefile.bootcd"
221.1Sbouyer
23

Indexes created Sun Dec 07 03:09:31 GMT 2025