44f4566e1a
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. #
33 lines
1.0 KiB
Makefile
33 lines
1.0 KiB
Makefile
# $NetBSD: Makefile.inc,v 1.30 2001/11/29 22:45:56 thorpej Exp $
|
|
#
|
|
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
|
|
#
|
|
|
|
KERNEL_SETS= GENERIC GENERIC_TINY GENERIC_LAPTOP GENERIC_DIAGNOSTIC \
|
|
GENERIC_PS2TINY
|
|
|
|
BUILD_KERNELS= INSTALL INSTALL_SMALL INSTALL_TINY INSTALL_LAPTOP INSTALL_PS2
|
|
|
|
INSTALLATION_DIRS += installation/misc
|
|
|
|
# mkisofs arguments to generate bootable iso image
|
|
MKISOFS_FLAGS+= -b installation/floppy/boot-big.fs
|
|
|
|
# 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/i386 && ${MAKE} release
|
|
cd ${.CURDIR}/../distrib/notes && ${MAKE} release
|
|
cd ${.CURDIR}/../sys/arch/i386/stand/dosboot && ${MAKE} release
|
|
sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/floppy '*.gz'
|
|
|
|
# For "make iso-image"
|
|
iso-image_md_pre:
|
|
echo iso-image_md_pre ${MACHINE_ARCH}
|
|
iso-image_md_post:
|
|
echo iso-image_md_post ${MACHINE_ARCH}
|