1 # $NetBSD: Makefile.inc,v 1.36 2003/07/10 10:34:18 lukem 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 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 SUNLABEL=${TOOL_SUNLABEL:Q} \ 49 ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \ 50 ${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE} 51