Source-Changes-HG archive

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

[src/trunk]: src/sys/rump Add a "default" alias for RUMP_NBCOMPAT, in case "d...



details:   https://anonhg.NetBSD.org/src/rev/0e57e62caf3e
branches:  trunk
changeset: 808817:0e57e62caf3e
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jun 03 14:40:11 2015 +0000

description:
Add a "default" alias for RUMP_NBCOMPAT, in case "default" and "all"
stop being the same thing in the future.

diffstat:

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

diffs (40 lines):

diff -r 941343984a25 -r 0e57e62caf3e sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Wed Jun 03 14:38:38 2015 +0000
+++ b/sys/rump/Makefile.rump    Wed Jun 03 14:40:11 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.112 2015/06/03 10:49:14 pooka Exp $
+#      $NetBSD: Makefile.rump,v 1.113 2015/06/03 14:40:11 pooka Exp $
 #
 
 .if !defined(_RUMP_MK)
@@ -30,8 +30,8 @@
 .endif
 
 # which NetBSD compat to build
-RUMP_NBCOMPAT?=all
-.if ${RUMP_NBCOMPAT} == "all"
+RUMP_NBCOMPAT?=default
+.if ${RUMP_NBCOMPAT} == "all" || ${RUMP_NBCOMPAT} == "default"
 RUMP_NBCOMPAT= 50 60 70
 .endif
 .if ${RUMP_NBCOMPAT} == "none"
diff -r 941343984a25 -r 0e57e62caf3e sys/rump/README.compileopts
--- a/sys/rump/README.compileopts       Wed Jun 03 14:38:38 2015 +0000
+++ b/sys/rump/README.compileopts       Wed Jun 03 14:40:11 2015 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: README.compileopts,v 1.10 2015/06/03 10:49:14 pooka Exp $
+       $NetBSD: README.compileopts,v 1.11 2015/06/03 14:40:11 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,7 +79,9 @@
 
     RUMP_NBCOMPAT
 
-values: comma-separated list of releases; e.g. "60,70"; or "all" or "none"
+values: comma-separated list of releases; e.g. "60,70";
+       or "all" or "default" or "none".  Currently default == all (but
+       might not be so in the future)
 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



Home | Main Index | Thread Index | Old Index