2011-01-18 03:22:56 +03:00
|
|
|
# $NetBSD: Makefile,v 1.4 2011/01/18 00:22:56 jym Exp $
|
2002-12-05 05:04:09 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
|
|
|
|
# create ${RAMDISK_*} variables
|
|
|
|
#
|
|
|
|
RAMDISKS= RAMDISK ramdisk
|
|
|
|
|
|
|
|
.for V F in ${RAMDISKS}
|
2006-06-03 02:11:52 +04:00
|
|
|
${V}DIR!= cd ${.CURDIR}/../ramdisks/${F} && ${PRINTOBJDIR}
|
2002-12-05 05:04:09 +03:00
|
|
|
${V}= ${${V}DIR}/${F}.fs
|
|
|
|
.endfor
|
|
|
|
|
2007-03-07 00:47:45 +03:00
|
|
|
MDSETTARGETS= INSTALL ${RAMDISK} -
|
2011-01-18 03:22:56 +03:00
|
|
|
MDSETTARGETS+= GENERIC ${RAMDISK} -
|
2007-11-23 00:23:42 +03:00
|
|
|
MDSETTARGETS+=INSTALL_XEN3_DOMU ${RAMDISK} -
|
2002-12-05 05:04:09 +03:00
|
|
|
|
|
|
|
MDSET_RELEASEDIR= binary/kernel
|
|
|
|
|
2011-01-18 03:22:56 +03:00
|
|
|
# need symbols to load modules. don't actually want image inserted.
|
|
|
|
MDSET_NOSTRIP.netbsd-GENERIC=
|
|
|
|
MDSET_NOIMAGE.netbsd-GENERIC=
|
2007-11-23 00:23:42 +03:00
|
|
|
# do not strip Xen kernels, there's no space constraints here.
|
|
|
|
MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU=
|
|
|
|
MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=
|
|
|
|
|
2002-12-05 05:04:09 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|