There are tests which rely on compat code continuing to be present,
so default RUMP_NBCOMPAT to all releases. reported by gson
This commit is contained in:
parent
63b1069f35
commit
ff02be874a
|
@ -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}
|
||||
|
|
|
@ -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 in a rump kernel. This is
|
|||
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue