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