1#	$NetBSD: Makefile.inc,v 1.70 2024/03/20 13:51:35 riastradh Exp $
2#
3#	etc.i386/Makefile.inc -- i386-specific etc Makefile targets
4#
5
6# If you change the list of distributed kernels, don't forget
7# to update the release documentation in distrib/notes/common/contents
8
9KERNEL_SETS=	GENERIC
10KERNEL_SETS+=	MONOLITHIC
11KERNEL_SETS+=	LEGACY
12KERNEL_SETS+=	XEN3PAE_DOM0
13KERNEL_SETS+=	XEN3PAE_DOMU
14# KERNEL_SETS+=	GENERIC_USERMODE
15# KERNEL_SETS+=	GENERIC_TINY
16# KERNEL_SETS+=	GENERIC_PS2TINY
17
18BUILD_KERNELS+=	INSTALL
19BUILD_KERNELS+=	INSTALL_XEN3PAE_DOMU
20# BUILD_KERNELS+=	INSTALL_FLOPPY
21# BUILD_KERNELS+=	INSTALL_SMALL
22# BUILD_KERNELS+=	INSTALL_TINY
23# BUILD_KERNELS+=	INSTALL_PS2
24
25INSTALLATION_DIRS+=	installation/misc
26INSTALLATION_DIRS+=	installation/cdrom
27INSTALLATION_DIRS+=	installation/floppy
28INSTALLATION_DIRS+=	installation/miniroot
29INSTALLATION_DIRS+=	installation/ramdisk
30
31# i386 specific distrib stuff
32snap_md_post:
33	cd ${KERNSRCDIR}/arch/i386/stand/dosboot && ${MAKE} release
34	cd ${KERNSRCDIR}/arch/i386/stand/pxeboot && ${MAKE} release
35	cd ${KERNSRCDIR}/arch/i386/stand/misc && ${MAKE} release
36	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom '*.iso'
37	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/floppy '*.fs'
38	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/miniroot '*.*'
39	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc '*.*'
40	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk '*.*'
41