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