Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / i386 / instkernel / Makefile
blobd724653b951ee04cda1b04bb78a45237f5b594d5
1 # $NetBSD: Makefile,v 1.11 2008/05/02 23:13:06 ad Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 # create ${RAMDISK_*} variables
8 RAMDISKS= RAMDISK_B ramdisk-big
9 # RAMDISKS+= RAMDISK_S ramdisk-small
10 # RAMDISKS+= RAMDISK_T ramdisk-tiny
11 # RAMDISKS+= RESCUE_T ramdisk-rescuetiny
13 .for V F in ${RAMDISKS}
14 ${V}DIR!= cd ${.CURDIR}/../ramdisks/${F} && ${PRINTOBJDIR}
15 ${V}= ${${V}DIR}/${F}.fs
16 .endfor
18 # If you change the list of distributed install kernels, don't forget
19 # to update the release documentation in distrib/notes/common/contents
20 MDSETTARGETS+= GENERIC ${RAMDISK_B} -
21 MDSETTARGETS+= INSTALL_FLOPPY ${RAMDISK_B} -
22 MDSETTARGETS+= INSTALL_XEN3_DOMU ${RAMDISK_B} -
23 MDSETTARGETS+= INSTALL_XEN3PAE_DOMU ${RAMDISK_B} -
24 # MDSETTARGETS+= INSTALL_SMALL ${RAMDISK_S} -
25 # MDSETTARGETS+= INSTALL_TINY ${RAMDISK_T} -
26 # MDSETTARGETS+= INSTALL_PS2 ${RAMDISK_S} -
27 # MDSETTARGETS+= INSTALL_TINY ${RESCUE_T} netbsd-RESCUE_TINY
29 MDSET_RELEASEDIR= binary/kernel
30 # need symbols to load modules. don't actually want image inserted.
31 MDSET_NOSTRIP.netbsd-GENERIC=
32 MDSET_NOIMAGE.netbsd-GENERIC=
33 # do not strip Xen kernels, there's no space constraints here.
34 MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU=
35 MDSET_NOSTRIP.netbsd-INSTALL_XEN3PAE_DOMU=
36 # do not strip any other kernels, it is done by Makefile.tarfloppy before
37 # they are written to a floppy.
38 MDSET_NOSTRIP=
39 MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=
40 MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3PAE_DOMU=
42 .include "${DISTRIBDIR}/common/Makefile.mdset"
44 .include <bsd.prog.mk>