NetBSD/etc/etc.mvme68k/Makefile.inc
thorpej 44f4566e1a Change the way kernel sets are specified, and make them
more consistent.  To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port.  A port may
# specify the following kernels:
#
#       KERNEL_SETS             The list of kernels that will be
#                               packaged into sets, named
#                               kern-${kernel}.tgz.  These kernels
#                               are also placed in the binary/kernels
#                               area of the release package as
#                               netbsd-${kernel}.gz.
#
#       EXTRA_KERNELS           Additional kernels to place in the
#                               binary/kernels area of the release
#                               package as netbsd-${kernel}.gz, but
#                               which are not placed into sets. This
#                               allows a port to provide e.g. a netbootable
#                               installation kernel containing a ramdisk.
#
#       BUILD_KERNELS           Additional kernels to build which are
#                               not placed into sets nor into the
#                               binary/kernels area of the release
#                               package.  These are typically kernels
#                               that are built for inclusion only in
#                               installation disk/CD-ROM/tape images.
#
2001-11-29 22:45:53 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: Makefile.inc,v 1.3 2001/11/29 22:45:57 thorpej Exp $
#
# etc.mvme68k/Makefile.inc -- mvme68k-specific etc Makefile targets
#
KERNEL_SETS= GENERIC VME147 VME162 VME167 VME172 VME177
BUILD_KERNELS= RAMDISK
INSTALLATION_DIRS += installation/miniroot
INSTALLATION_DIRS += installation/netboot
INSTALLATION_DIRS += installation/tapeimage
# Tar up extra kernel sets.
# Build the boot floppies and install them
snap_md_post:
.ifndef UPDATE
cd ${.CURDIR}/../distrib && ${MAKE} cleandir
.endif
cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
cd ${.CURDIR}/../distrib/mvme68k && ${MAKE} release
cd ${.CURDIR}/../distrib/miniroot && ${MAKE} release
cd ${.CURDIR}/../distrib/notes && ${MAKE} release
cp -p ${DESTDIR}/usr/mdec/sboot ${RELEASEDIR}/installation/netboot
cp -p ${DESTDIR}/usr/mdec/netboot ${RELEASEDIR}/installation/netboot
cp -p ${DESTDIR}/usr/mdec/stboot ${RELEASEDIR}/installation/tapeimage
cp -p ${DESTDIR}/usr/mdec/bootst ${RELEASEDIR}/installation/tapeimage
sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/netboot -all
sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/tapeimage -all