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