1 # $NetBSD: Makefile.inc,v 1.37 2003/12/14 12:17:44 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 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 images in netboot directory 30 ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/boot.net \ 31 ${RELEASEDIR}/${MACHINE}/installation/netboot 32 ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/bootjs.elf \ 33 ${RELEASEDIR}/${MACHINE}/installation/netboot 34 35 # install links to boot and installation utilities for various media 36 .for linkdst linksrc in ${INSTALLATION_SYMLINKS} 37 rm -f ${RELEASEDIR}/${MACHINE}/installation/${linkdst} 38 ln -s ${linksrc} ${RELEASEDIR}/${MACHINE}/installation/${linkdst} 39 .endfor 40 41 # compute checksums 42 .for dir in ${MD_INSTALLATION_DIRS} 43 ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/${dir} '*' 44 .endfor 45 46 CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR} 47 CDBOOTIMAGE= ${CDBOOTIMAGEDIR}/boot.fs 48 49 iso-image-md-post: 50 SUNLABEL=${TOOL_SUNLABEL:Q} \ 51 ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \ 52 ${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE} 53