2006-08-23 23:02:37 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 2006/08/23 19:02:37 bouyer Exp $
|
2002-02-08 07:40:51 +03:00
|
|
|
|
2002-02-27 16:42:35 +03:00
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-02-27 16:42:35 +03:00
|
|
|
|
2002-02-03 19:22:19 +03:00
|
|
|
# create ${RAMDISK_*} variables
|
|
|
|
#
|
2002-10-14 20:20:39 +04:00
|
|
|
RAMDISKS= RAMDISK_B ramdisk-big \
|
|
|
|
RAMDISK_S ramdisk-small \
|
|
|
|
RAMDISK_T ramdisk-tiny \
|
|
|
|
RESCUE_T ramdisk-rescuetiny
|
2000-09-27 20:04:13 +04:00
|
|
|
|
2002-02-03 19:22:19 +03:00
|
|
|
.for V F in ${RAMDISKS}
|
2006-06-03 02:11:06 +04:00
|
|
|
${V}DIR!= cd ${.CURDIR}/../ramdisks/${F} && ${PRINTOBJDIR}
|
2002-03-05 23:29:33 +03:00
|
|
|
${V}= ${${V}DIR}/${F}.fs
|
2002-02-03 19:22:19 +03:00
|
|
|
.endfor
|
|
|
|
|
2006-06-09 02:17:07 +04:00
|
|
|
MDSETTARGETS= INSTALL ${RAMDISK_B} - \
|
|
|
|
INSTALL_LAPTOP ${RAMDISK_B} - \
|
|
|
|
INSTALL_XEN2_DOMU ${RAMDISK_B} - \
|
|
|
|
INSTALL_XEN3_DOMU ${RAMDISK_B} - \
|
|
|
|
INSTALL_SMALL ${RAMDISK_S} - \
|
|
|
|
INSTALL_TINY ${RAMDISK_T} - \
|
|
|
|
INSTALL_PS2 ${RAMDISK_S} - \
|
|
|
|
INSTALL_TINY ${RESCUE_T} netbsd-RESCUE_TINY
|
2002-10-14 20:20:39 +04:00
|
|
|
|
2002-05-02 22:02:14 +04:00
|
|
|
MDSET_RELEASEDIR= binary/kernel
|
2006-08-23 23:02:37 +04:00
|
|
|
# do not strip Xen kernels, there's no space constraints here.
|
|
|
|
MDSET_NOSTRIP.netbsd-INSTALL_XEN2_DOMU=
|
|
|
|
MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU=
|
|
|
|
MDSET_NOSYMBOLS.netbsd-INSTALL_XEN2_DOMU=
|
|
|
|
MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=
|
2000-09-27 20:04:13 +04:00
|
|
|
|
2002-04-11 19:34:52 +04:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
2002-04-12 09:33:58 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|