1 # $NetBSD: Makefile.inc,v 1.40 2007/07/24 10:49:28 pavel Exp $
3 # etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
6 # If you change the list of distributed kernels, don't forget
7 # to update the release documentation in distrib/notes/common/contents
9 KERNEL_SETS= GENERIC GENERIC_SCSI3 GENERIC_SUN4U GENERIC.MP \
10 MRCOFFEE_OFW MRCOFFEE KRUPS
12 BUILD_KERNELS= INSTALL
14 MD_INSTALLATION_DIRS= installation/miniroot \
15 installation/netboot \
19 INSTALLATION_DIRS+= ${MD_INSTALLATION_DIRS}
22 INSTALLATION_SYMLINKS= \
23 tape/tapefile1.gz ../bootfs/netbsd.ram.aout.gz \
24 tape/tapefile2 ../bootfs/instfs.tgz \
25 floppy/disk1.gz ../bootfs/boot.fs.gz \
26 floppy/disk2 ../bootfs/instfs.tgz \
27 netboot/rootfs.tgz ../bootfs/instfs.tgz
30 # Install miniroot images and auxiliary scripts to the release tree
33 # install boot images in netboot directory
34 ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/boot.net \
35 ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
36 ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/bootjs.net \
37 ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
39 # install links to boot and installation utilities for various media
40 .for linkdst linksrc in ${INSTALLATION_SYMLINKS}
41 rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
42 ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
46 .for dir in ${MD_INSTALLATION_DIRS}
47 ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
50 CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR}
51 CDBOOTIMAGE= ${CDBOOTIMAGEDIR}/boot.fs
54 SUNLABEL=${TOOL_SUNLABEL:Q} \
55 ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
56 ${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}