Sync usage with man page.
[netbsd-mini2440.git] / etc / etc.sparc / Makefile.inc
blob1d8621224c104386025ad9dbbb545a6b65085a08
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    \
16                         installation/bootfs     \
17                         installation/tape       \
18                         installation/floppy
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
32 snap_md_post:
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}
43 .endfor
45         # compute checksums
46 .for dir in ${MD_INSTALLATION_DIRS}
47         ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
48 .endfor
50 CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR}
51 CDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
53 iso-image-md-post:
54         SUNLABEL=${TOOL_SUNLABEL:Q} \
55             ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
56             ${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}