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