Home | History | Annotate | Line # | Download | only in etc.sparc
      1  1.43   martin #	$NetBSD: Makefile.inc,v 1.43 2012/03/14 13:26:43 martin 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.43   martin 			installation/tape
     18  1.43   martin 
     19  1.43   martin # XXX floppy overflows, see below (add to above list to re-enable)
     20  1.43   martin #			installation/floppy
     21  1.43   martin 
     22  1.26    lukem INSTALLATION_DIRS+=	${MD_INSTALLATION_DIRS}
     23  1.14       pk 
     24  1.31    lukem 
     25  1.31    lukem INSTALLATION_SYMLINKS=	\
     26  1.31    lukem 		tape/tapefile1.gz	../bootfs/netbsd.ram.aout.gz	\
     27  1.31    lukem 		tape/tapefile2		../bootfs/instfs.tgz		\
     28  1.31    lukem 		netboot/rootfs.tgz	../bootfs/instfs.tgz
     29  1.31    lukem 
     30  1.43   martin # XXX - floppy overflows on boot.fs.gz - so disabled for now,
     31  1.43   martin # add the following to above list to re-enable
     32  1.43   martin #		floppy/disk1.gz		../bootfs/boot.fs.gz
     33  1.43   martin #		floppy/disk2		../bootfs/instfs.tgz
     34  1.43   martin 
     35  1.14       pk #
     36  1.14       pk # Install miniroot images and auxiliary scripts to the release tree
     37  1.14       pk #
     38  1.14       pk snap_md_post:
     39  1.37   martin 	# install boot images in netboot directory
     40  1.31    lukem 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/boot.net \
     41  1.41    lukem 	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
     42  1.38   martin 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/bootjs.net \
     43  1.41    lukem 	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
     44  1.21       pk 
     45  1.21       pk 	# install links to boot and installation utilities for various media
     46  1.31    lukem .for linkdst linksrc in ${INSTALLATION_SYMLINKS}
     47  1.41    lukem 	rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
     48  1.41    lukem 	ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
     49  1.31    lukem .endfor
     50  1.14       pk 
     51  1.14       pk 	# compute checksums
     52  1.14       pk .for dir in ${MD_INSTALLATION_DIRS}
     53  1.41    lukem 	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
     54  1.14       pk .endfor
     55  1.19       pk 
     56  1.30    lukem CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR}
     57  1.24  thorpej CDBOOTIMAGE=	${CDBOOTIMAGEDIR}/boot.fs
     58  1.19       pk 
     59  1.35    lukem iso-image-md-post:
     60  1.36    lukem 	SUNLABEL=${TOOL_SUNLABEL:Q} \
     61  1.36    lukem 	    ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
     62  1.42    joerg 	    ${CDROM_IMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
     63