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