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