Home | History | Annotate | Line # | Download | only in etc.sgimips
Makefile.inc revision 1.11.2.1
      1  1.11.2.1    tron #	$NetBSD: Makefile.inc,v 1.11.2.1 2005/10/06 11:43:12 tron 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.10  sekiya KERNEL_SETS=		GENERIC32_IP12 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  sekiya 	echo "ip2x=${RELEASEDIR}/ip2x" >> ${CDROM.pathlist}
     20       1.9  sekiya 	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.11     jmc 	dd if=/dev/zero of=${SGI.image} bs=1024k count=120
     26      1.11     jmc 	${TOOLDIR}/bin/nbsgivol -f -i ${SGI.image}
     27      1.11     jmc 	${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot \
     28      1.11     jmc 		${SGI.image}
     29      1.11     jmc 	${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot \
     30      1.11     jmc 		${SGI.image}
     31      1.11     jmc 	${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot \
     32      1.11     jmc 		${SGI.image}
     33      1.11     jmc # Don't hardcode this. Pick it up from bootblock.h
     34      1.11     jmc 	SEEK=`egrep SGI_BOOT_BLOCK_SIZE_VOLHDR \
     35  1.11.2.1    tron 		${DESTDIR}/usr/include/sys/bootblock.h | sed -e 's/[^0-9]*//'`; \
     36      1.11     jmc 		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