1# $NetBSD: Makefile.inc,v 1.30 2002/12/02 13:31:22 lukem Exp $ 2# 3# etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets 4# 5 6KERNEL_SETS= GENERIC GENERIC_SCSI3 GENERIC_SUN4U 7 8BUILD_KERNELS= INSTALL 9 10MD_INSTALLATION_DIRS= installation/miniroot \ 11 installation/netboot \ 12 installation/bootfs \ 13 installation/tape \ 14 installation/floppy 15INSTALLATION_DIRS+= ${MD_INSTALLATION_DIRS} 16 17# 18# Install miniroot images and auxiliary scripts to the release tree 19# 20snap_md_post: 21 # install boot image in netboot directory 22 cp -p ${DESTDIR}/usr/mdec/boot.net ${RELEASEDIR}/installation/netboot 23 24 # install links to boot and installation utilities for various media 25 rm -f ${RELEASEDIR}/installation/tape/tapefile1.gz 26 rm -f ${RELEASEDIR}/installation/tape/tapefile2 27 rm -f ${RELEASEDIR}/installation/floppy/disk1.gz 28 rm -f ${RELEASEDIR}/installation/floppy/disk2 29 rm -f ${RELEASEDIR}/installation/netboot/rootfs.tgz 30 ln -s ../bootfs/netbsd.ram.aout.gz \ 31 ${RELEASEDIR}/installation/tape/tapefile1.gz 32 ln -s ../bootfs/instfs.tgz \ 33 ${RELEASEDIR}/installation/tape/tapefile2 34 ln -s ../bootfs/boot.fs.gz \ 35 ${RELEASEDIR}/installation/floppy/disk1.gz 36 ln -s ../bootfs/instfs.tgz \ 37 ${RELEASEDIR}/installation/floppy/disk2 38 ln -s ../bootfs/instfs.tgz \ 39 ${RELEASEDIR}/installation/netboot/rootfs.tgz 40 41 # compute checksums 42.for dir in ${MD_INSTALLATION_DIRS} 43 ${MAKESUMS} -t ${RELEASEDIR}/${dir} '*' 44.endfor 45 46CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR} 47CDBOOTIMAGE= ${CDBOOTIMAGEDIR}/boot.fs 48 49iso-image_md_post: 50 mksunbootcd ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \ 51 ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE} 52