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