xref: /netbsd/etc/etc.i386/Makefile.inc (revision bf9ec67e)
1#	$NetBSD: Makefile.inc,v 1.34 2002/05/02 15:09:43 lukem Exp $
2#
3#	etc.i386/Makefile.inc -- i386-specific etc Makefile targets
4#
5
6KERNEL_SETS=		GENERIC GENERIC_TINY GENERIC_LAPTOP \
7			GENERIC_DIAGNOSTIC GENERIC_PS2TINY
8
9BUILD_KERNELS=		INSTALL INSTALL_SMALL INSTALL_TINY \
10			INSTALL_LAPTOP INSTALL_PS2
11
12INSTALLATION_DIRS+=	installation/misc	\
13			installation/floppy
14
15# mkisofs arguments to generate bootable iso image
16MKISOFS_FLAGS+=	-b installation/floppy/boot-big.fs
17
18# Tar up extra kernel sets.
19# Build the boot floppies and install them
20snap_md_post:
21.ifndef UPDATE
22	cd ${.CURDIR}/../distrib && ${MAKE} cleandir
23.endif
24	cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
25	cd ${.CURDIR}/../distrib/i386 && ${MAKE} release
26	cd ${.CURDIR}/../distrib/notes && ${MAKE} release
27	cd ${.CURDIR}/../sys/arch/i386/stand/dosboot && ${MAKE} release
28	cd ${.CURDIR}/../sys/arch/i386/stand/misc && ${MAKE} release
29	${MAKESUMS} -t ${RELEASEDIR}/installation/floppy '*.fs'
30	${MAKESUMS} -t ${RELEASEDIR}/installation/misc '*.*'
31
32# For "make iso-image"
33iso-image_md_pre:
34	echo iso-image_md_pre ${MACHINE_ARCH}
35iso-image_md_post:
36	echo iso-image_md_post ${MACHINE_ARCH}
37