Module Name: src
Committed By: pooka
Date: Fri Apr 24 06:29:57 UTC 2015
Modified Files:
src/sys/rump: Makefile.rump README.compileopts
Log Message:
There are tests which rely on compat code continuing to be present,
so default RUMP_NBCOMPAT to all releases.
reported by gson
To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/rump/Makefile.rump
cvs rdiff -u -r1.8 -r1.9 src/sys/rump/README.compileopts
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.110 src/sys/rump/Makefile.rump:1.111
--- src/sys/rump/Makefile.rump:1.110 Thu Apr 23 14:49:26 2015
+++ src/sys/rump/Makefile.rump Fri Apr 24 06:29:56 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rump,v 1.110 2015/04/23 14:49:26 pooka Exp $
+# $NetBSD: Makefile.rump,v 1.111 2015/04/24 06:29:56 pooka Exp $
#
.if !defined(_RUMP_MK)
@@ -29,10 +29,7 @@ CPPFLAGS+= -DMIPS1=1
.endif
.endif
-RUMP_NBCOMPAT?= 60 70
-.if ${RUMP_NBCOMPAT} == "all"
-RUMP_NBCOMPAT= 50 60 70
-.endif
+RUMP_NBCOMPAT?= 50 60 70
# normalize alternatively accepted comma-separated list
RUMP_NBCOMPAT:= ${RUMP_NBCOMPAT:S/,/ /g}
CPPFLAGS+= ${RUMP_NBCOMPAT:C/[1-9]0/-DCOMPAT_&/g}
Index: src/sys/rump/README.compileopts
diff -u src/sys/rump/README.compileopts:1.8 src/sys/rump/README.compileopts:1.9
--- src/sys/rump/README.compileopts:1.8 Thu Apr 23 14:49:26 2015
+++ src/sys/rump/README.compileopts Fri Apr 24 06:29:56 2015
@@ -1,4 +1,4 @@
- $NetBSD: README.compileopts,v 1.8 2015/04/23 14:49:26 pooka Exp $
+ $NetBSD: README.compileopts,v 1.9 2015/04/24 06:29:56 pooka Exp $
This file describes compile-time options for rump kernels. Additionally,
NetBSD build options will have an effect. See src/share/mk/bsd.README
@@ -79,8 +79,8 @@ effect: Control how curlwp is obtained i
RUMP_NBCOMPAT
-values: either a comma-separated list of releases (e.g. 50,60), or "all"
-defval: two previous NetBSD releases; check Makefile.rump
+values: comma-separated list of releases, e.g. 60,70
+defval: all
effect: Builds NetBSD COMPAT_nn code for each of the elements in the list.
This option is useful only when building rump kernels for
NetBSD userspace, and an empty value may be supplied elsewhere.