From dc09d3bc32f34076dff47a9f38fda0d6aea24ef4 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 17 Dec 2010 00:53:16 +0000 Subject: [PATCH] Support MKREPRO --- sys/rump/librump/rumpkern/Makefile.rumpkern | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sys/rump/librump/rumpkern/Makefile.rumpkern b/sys/rump/librump/rumpkern/Makefile.rumpkern index c7cf0bbf3ea3..63f7042922f4 100644 --- a/sys/rump/librump/rumpkern/Makefile.rumpkern +++ b/sys/rump/librump/rumpkern/Makefile.rumpkern @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.rumpkern,v 1.103 2010/11/26 09:25:39 pooka Exp $ +# $NetBSD: Makefile.rumpkern,v 1.104 2010/12/17 00:53:16 joerg Exp $ # .include "${RUMPTOP}/Makefile.rump" @@ -31,9 +31,17 @@ RUMP_SMP= # defined CPPFLAGS.rump.c+= -DRUMP_SMP .endif +MKREPRO?=no + +.if ${MKREPRO} == "yes" +_NVFLAGS=-r +.else +_NVFLAGS= +.endif + vers.c: ${RUMPTOP}/../conf/newvers.sh ${RUMPTOP}/../conf/osrelease.sh ${RUMPTOP}/../sys/param.h ${_MKMSG_CREATE} vers.c - ${HOST_SH} ${RUMPTOP}/../conf/newvers.sh -i RUMP-ROAST -n + ${HOST_SH} ${RUMPTOP}/../conf/newvers.sh -i RUMP-ROAST -n ${_NVFLAGS} SRCS+= vers.c CLEANFILES+= vers.c version