1 # $NetBSD: Makefile,v 1.4 2011/01/18 00:22:56 jym Exp $ 2 3 .include <bsd.own.mk> 4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 5 6 # create ${RAMDISK_*} variables 7 # 8 RAMDISKS= RAMDISK ramdisk 9 10 .for V F in ${RAMDISKS} 11 ${V}DIR!= cd ${.CURDIR}/../ramdisks/${F} && ${PRINTOBJDIR} 12 ${V}= ${${V}DIR}/${F}.fs 13 .endfor 14 15 MDSETTARGETS= INSTALL ${RAMDISK} - 16 MDSETTARGETS+= GENERIC ${RAMDISK} - 17 MDSETTARGETS+=INSTALL_XEN3_DOMU ${RAMDISK} - 18 19 MDSET_RELEASEDIR= binary/kernel 20 21 # need symbols to load modules. don't actually want image inserted. 22 MDSET_NOSTRIP.netbsd-GENERIC= 23 MDSET_NOIMAGE.netbsd-GENERIC= 24 # do not strip Xen kernels, there's no space constraints here. 25 MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU= 26 MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU= 27 28 .include "${DISTRIBDIR}/common/Makefile.mdset" 29 30 .include <bsd.prog.mk> 31