Home | History | Annotate | Line # | Download | only in instkernel
Makefile revision 1.5.2.1
      1 #	$NetBSD: Makefile,v 1.5.2.1 2007/03/09 06:59:39 riz Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5 
      6 #	create ${RAMDISK_*} variables
      7 #
      8 RAMDISKS=	RAMDISK_B	ramdisk-big
      9 # RAMDISKS+=	RAMDISK_S	ramdisk-small
     10 # RAMDISKS+=	RAMDISK_T	ramdisk-tiny
     11 # RAMDISKS+=	RESCUE_T	ramdisk-rescuetiny
     12 
     13 .for V F in ${RAMDISKS}
     14 ${V}DIR!=	cd ${.CURDIR}/../ramdisks/${F} && ${PRINTOBJDIR}
     15 ${V}=		${${V}DIR}/${F}.fs
     16 .endfor
     17 
     18 MDSETTARGETS=	INSTALL_LARGE		${RAMDISK_B}	-
     19 MDSETTARGETS+=	INSTALL			${RAMDISK_B}	-
     20 MDSETTARGETS+=	INSTALL_LAPTOP		${RAMDISK_B}	-
     21 MDSETTARGETS+=	INSTALL_XEN2_DOMU	${RAMDISK_B}	-
     22 MDSETTARGETS+=	INSTALL_XEN3_DOMU	${RAMDISK_B}	-
     23 # MDSETTARGETS+=	INSTALL_SMALL		${RAMDISK_S}	-
     24 # MDSETTARGETS+=	INSTALL_TINY		${RAMDISK_T}	-
     25 # MDSETTARGETS+=	INSTALL_PS2		${RAMDISK_S}	-
     26 # MDSETTARGETS+=	INSTALL_TINY		${RESCUE_T}	netbsd-RESCUE_TINY
     27 
     28 MDSET_RELEASEDIR=	binary/kernel
     29 # do not strip Xen kernels, there's no space constraints here.
     30 MDSET_NOSTRIP.netbsd-INSTALL_XEN2_DOMU=
     31 MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU=
     32 # do not strip any other kernels, it is done by Makefile.tarfloppy before
     33 # they are written to a floppy.
     34 MDSET_NOSTRIP=
     35 MDSET_NOSYMBOLS.netbsd-INSTALL_XEN2_DOMU=
     36 MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=
     37 
     38 .include "${DISTRIBDIR}/common/Makefile.mdset"
     39 
     40 .include <bsd.prog.mk>
     41