xref: /netbsd/etc/etc.sun2/Makefile.inc (revision bf9ec67e)
1#	$NetBSD: Makefile.inc,v 1.3 2002/05/02 15:09:49 lukem Exp $
2#
3#	etc.sun2/Makefile.inc -- sun2-specific etc Makefile targets
4#
5
6BIN3+= etc.sun2/ttyaction
7
8KERNEL_SETS=		GENERIC FOURMEG DISKLESS
9
10EXTRA_KERNELS=		INSTALL
11
12BUILD_KERNELS=		RAMDISK
13
14INSTALLATION_DIRS+=	installation/miniroot	\
15			installation/netboot	\
16			installation/tapeimage
17
18snap_md_post:
19# Build the ramdisk image and patch it into the ramdisk kernels.
20# Build the miniroot, etc. and copy all to the release area.
21.ifndef UPDATE
22	cd ${.CURDIR}/../distrib/sun2 && ${MAKE} clean
23.endif
24	cd ${.CURDIR}/../distrib/sun2 && \
25	  ${MAKE} depend && ${MAKE} ${_J} && ${MAKE} release
26	cd ${.CURDIR}/../distrib/notes && ${MAKE} && ${MAKE} release
27