Source-Changes-HG archive

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

[src/trunk]: src/sys/rump There are tests which rely on compat code continuin...



details:   https://anonhg.NetBSD.org/src/rev/62ae72e03849
branches:  trunk
changeset: 337710:62ae72e03849
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Apr 24 06:29:56 2015 +0000

description:
There are tests which rely on compat code continuing to be present,
so default RUMP_NBCOMPAT to all releases.

reported by gson

diffstat:

 sys/rump/Makefile.rump      |  7 ++-----
 sys/rump/README.compileopts |  6 +++---
 2 files changed, 5 insertions(+), 8 deletions(-)

diffs (41 lines):

diff -r 023352097ca9 -r 62ae72e03849 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Fri Apr 24 04:43:32 2015 +0000
+++ b/sys/rump/Makefile.rump    Fri Apr 24 06:29:56 2015 +0000
@@ -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 @@
 .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}
diff -r 023352097ca9 -r 62ae72e03849 sys/rump/README.compileopts
--- a/sys/rump/README.compileopts       Fri Apr 24 04:43:32 2015 +0000
+++ b/sys/rump/README.compileopts       Fri Apr 24 06:29:56 2015 +0000
@@ -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 @@
 
     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.



Home | Main Index | Thread Index | Old Index