Home | History | Annotate | Line # | Download | only in etc.sgimips
Makefile.inc revision 1.9.4.2
      1  1.9.4.2  bouyer #	$NetBSD: Makefile.inc,v 1.9.4.2 2007/04/05 20:48:36 bouyer Exp $
      2      1.1   soren #
      3      1.1   soren #	etc.sgimips/Makefile.inc -- sgimips-specific etc Makefile targets
      4      1.1   soren #
      5      1.1   soren 
      6      1.8  sekiya KERNEL_SETS=		GENERIC32_IP2x GENERIC32_IP3x
      7      1.6   rafal KERNEL_SUFFIXES=	ecoff
      8      1.1   soren 
      9      1.6   rafal #EXTRA_KERNELS=		NETBOOT
     10      1.1   soren 
     11      1.8  sekiya BUILD_KERNELS=		INSTALL32_IP2x INSTALL32_IP3x
     12      1.1   soren 
     13      1.6   rafal INSTALLATION_DIRS+=	installation/netboot \
     14      1.6   rafal 			installation/diskimage
     15      1.9  sekiya 
     16      1.9  sekiya iso-image-md-pre:
     17      1.9  sekiya 	gzip -d -c ${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-INSTALL32_IP2x.gz > ${RELEASEDIR}/ip2x
     18      1.9  sekiya 	gzip -d -c ${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-INSTALL32_IP3x.gz > ${RELEASEDIR}/ip3x
     19  1.9.4.2  bouyer 	echo "ip2x/=${RELEASEDIR}/ip2x/" >> ${CDROM.pathlist}
     20  1.9.4.2  bouyer 	echo "ip3x/=${RELEASEDIR}/ip3x/" >> ${CDROM.pathlist}
     21      1.9  sekiya 
     22      1.9  sekiya SGI.image= ${RELEASEDIR}/${MACHINE}/installation/cdrom/netbsd-sgimips.img
     23      1.9  sekiya 
     24      1.9  sekiya iso-image-md-post:
     25  1.9.4.1    tron 	dd if=/dev/zero of=${SGI.image} bs=1024k count=120
     26  1.9.4.1    tron 	${TOOLDIR}/bin/nbsgivol -f -i ${SGI.image}
     27  1.9.4.1    tron 	${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot \
     28  1.9.4.1    tron 		${SGI.image}
     29  1.9.4.1    tron 	${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot \
     30  1.9.4.1    tron 		${SGI.image}
     31  1.9.4.1    tron 	${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot \
     32  1.9.4.1    tron 		${SGI.image}
     33  1.9.4.1    tron # Don't hardcode this. Pick it up from bootblock.h
     34  1.9.4.1    tron 	SEEK=`egrep SGI_BOOT_BLOCK_SIZE_VOLHDR \
     35  1.9.4.1    tron 		${.CURDIR}/../../sys/sys/bootblock.h | sed -e 's/[^0-9]*//'`; \
     36  1.9.4.1    tron 		dd if=${CDROM.image} of=${SGI.image} bs=512 seek=$${SEEK}
     37      1.9  sekiya 	mv ${SGI.image} ${CDROM.image}
     38      1.9  sekiya 	rm -f ${RELEASEDIR}/ip2x ${RELEASEDIR}/ip3x
     39