Home | History | Annotate | Line # | Download | only in etc.sparc
Makefile.inc revision 1.40
      1  1.40    pavel #	$NetBSD: Makefile.inc,v 1.40 2007/07/24 10:49:28 pavel Exp $
      2   1.1  deraadt #
      3   1.1  deraadt #	etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
      4   1.1  deraadt #
      5   1.1  deraadt 
      6  1.40    pavel # If you change the list of distributed kernels, don't forget
      7  1.40    pavel # to update the release documentation in distrib/notes/common/contents
      8  1.40    pavel 
      9  1.39   martin KERNEL_SETS=		GENERIC GENERIC_SCSI3 GENERIC_SUN4U GENERIC.MP	\
     10  1.39   martin 			MRCOFFEE_OFW MRCOFFEE KRUPS
     11  1.23  thorpej 
     12  1.23  thorpej BUILD_KERNELS=		INSTALL
     13  1.14       pk 
     14  1.26    lukem MD_INSTALLATION_DIRS=	installation/miniroot	\
     15  1.26    lukem 			installation/netboot	\
     16  1.26    lukem 			installation/bootfs	\
     17  1.26    lukem 			installation/tape	\
     18  1.26    lukem 			installation/floppy
     19  1.26    lukem INSTALLATION_DIRS+=	${MD_INSTALLATION_DIRS}
     20  1.14       pk 
     21  1.31    lukem 
     22  1.31    lukem INSTALLATION_SYMLINKS=	\
     23  1.31    lukem 		tape/tapefile1.gz	../bootfs/netbsd.ram.aout.gz	\
     24  1.31    lukem 		tape/tapefile2		../bootfs/instfs.tgz		\
     25  1.31    lukem 		floppy/disk1.gz		../bootfs/boot.fs.gz		\
     26  1.31    lukem 		floppy/disk2		../bootfs/instfs.tgz		\
     27  1.31    lukem 		netboot/rootfs.tgz	../bootfs/instfs.tgz
     28  1.31    lukem 
     29  1.14       pk #
     30  1.14       pk # Install miniroot images and auxiliary scripts to the release tree
     31  1.14       pk #
     32  1.14       pk snap_md_post:
     33  1.37   martin 	# install boot images in netboot directory
     34  1.31    lukem 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/boot.net \
     35  1.37   martin 	    ${RELEASEDIR}/${MACHINE}/installation/netboot
     36  1.38   martin 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/bootjs.net \
     37  1.31    lukem 	    ${RELEASEDIR}/${MACHINE}/installation/netboot
     38  1.21       pk 
     39  1.21       pk 	# install links to boot and installation utilities for various media
     40  1.31    lukem .for linkdst linksrc in ${INSTALLATION_SYMLINKS}
     41  1.31    lukem 	rm -f ${RELEASEDIR}/${MACHINE}/installation/${linkdst}
     42  1.31    lukem 	ln -s ${linksrc} ${RELEASEDIR}/${MACHINE}/installation/${linkdst}
     43  1.31    lukem .endfor
     44  1.14       pk 
     45  1.14       pk 	# compute checksums
     46  1.14       pk .for dir in ${MD_INSTALLATION_DIRS}
     47  1.31    lukem 	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/${dir} '*'
     48  1.14       pk .endfor
     49  1.19       pk 
     50  1.30    lukem CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR}
     51  1.24  thorpej CDBOOTIMAGE=	${CDBOOTIMAGEDIR}/boot.fs
     52  1.19       pk 
     53  1.35    lukem iso-image-md-post:
     54  1.36    lukem 	SUNLABEL=${TOOL_SUNLABEL:Q} \
     55  1.36    lukem 	    ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
     56  1.36    lukem 	    ${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
     57