Module Name: src
Committed By: pooka
Date: Wed Apr 22 16:59:45 UTC 2015
Modified Files:
src/sys/rump: Makefile.rump
Log Message:
Generate -DCOMPAT_nn from a list of nn provided in RUMP_COMPAT
To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/rump/Makefile.rump
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/Makefile.rump
diff -u src/sys/rump/Makefile.rump:1.103 src/sys/rump/Makefile.rump:1.104
--- src/sys/rump/Makefile.rump:1.103 Tue Dec 2 01:59:10 2014
+++ src/sys/rump/Makefile.rump Wed Apr 22 16:59:45 2015
@@ -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 @@ CPPFLAGS+= -DMIPS1=1
.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