Source-Changes-HG archive

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

[src/trunk]: src/sys/rump Generate -DCOMPAT_nn from a list of nn provided in ...



details:   https://anonhg.NetBSD.org/src/rev/e39c688f79b4
branches:  trunk
changeset: 807791:e39c688f79b4
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Apr 22 16:59:45 2015 +0000

description:
Generate -DCOMPAT_nn from a list of nn provided in RUMP_COMPAT

diffstat:

 sys/rump/Makefile.rump |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r aada191d93c0 -r e39c688f79b4 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Wed Apr 22 16:49:42 2015 +0000
+++ b/sys/rump/Makefile.rump    Wed Apr 22 16:59:45 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.103 2014/12/02 01:59:10 pooka Exp $
+#      $NetBSD: Makefile.rump,v 1.104 2015/04/22 16:59:45 pooka Exp $
 #
 
 .if !defined(_RUMP_MK)
@@ -30,8 +30,10 @@
 .endif
 .endif
 
+RUMP_COMPAT?=  50 60
+CPPFLAGS+=     ${RUMP_COMPAT:C/[1-9]0/-DCOMPAT_&/g}
+
 CPPFLAGS+=     -DMAXUSERS=32
-CPPFLAGS+=     -DCOMPAT_50=1 -DCOMPAT_60=1
 
 CPPFLAGS+=     -nostdinc
 CFLAGS+=       -ffreestanding -fno-strict-aliasing



Home | Main Index | Thread Index | Old Index