Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern Support MKREPRO



details:   https://anonhg.NetBSD.org/src/rev/fb5c2bf293f9
branches:  trunk
changeset: 759810:fb5c2bf293f9
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Dec 17 00:53:16 2010 +0000

description:
Support MKREPRO

diffstat:

 sys/rump/librump/rumpkern/Makefile.rumpkern |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 06ae08ce850d -r fb5c2bf293f9 sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern       Fri Dec 17 00:23:58 2010 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern       Fri Dec 17 00:53:16 2010 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index