1 # $NetBSD: Makefile.inc,v 1.43 2012/03/14 13:26:43 martin Exp $ 2 # 3 # etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets 4 # 5 6 # If you change the list of distributed kernels, don't forget 7 # to update the release documentation in distrib/notes/common/contents 8 9 KERNEL_SETS= GENERIC GENERIC_SCSI3 GENERIC_SUN4U GENERIC.MP \ 10 MRCOFFEE_OFW MRCOFFEE KRUPS 11 12 BUILD_KERNELS= INSTALL 13 14 MD_INSTALLATION_DIRS= installation/miniroot \ 15 installation/netboot \ 16 installation/bootfs \ 17 installation/tape 18 19 # XXX floppy overflows, see below (add to above list to re-enable) 20 # installation/floppy 21 22 INSTALLATION_DIRS+= ${MD_INSTALLATION_DIRS} 23 24 25 INSTALLATION_SYMLINKS= \ 26 tape/tapefile1.gz ../bootfs/netbsd.ram.aout.gz \ 27 tape/tapefile2 ../bootfs/instfs.tgz \ 28 netboot/rootfs.tgz ../bootfs/instfs.tgz 29 30 # XXX - floppy overflows on boot.fs.gz - so disabled for now, 31 # add the following to above list to re-enable 32 # floppy/disk1.gz ../bootfs/boot.fs.gz 33 # floppy/disk2 ../bootfs/instfs.tgz 34 35 # 36 # Install miniroot images and auxiliary scripts to the release tree 37 # 38 snap_md_post: 39 # install boot images in netboot directory 40 ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/boot.net \ 41 ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot 42 ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/bootjs.net \ 43 ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot 44 45 # install links to boot and installation utilities for various media 46 .for linkdst linksrc in ${INSTALLATION_SYMLINKS} 47 rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst} 48 ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst} 49 .endfor 50 51 # compute checksums 52 .for dir in ${MD_INSTALLATION_DIRS} 53 ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*' 54 .endfor 55 56 CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR} 57 CDBOOTIMAGE= ${CDBOOTIMAGEDIR}/boot.fs 58 59 iso-image-md-post: 60 SUNLABEL=${TOOL_SUNLABEL:Q} \ 61 ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \ 62 ${CDROM_IMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE} 63