Rename RUMPTEST_BUILDSH to RUMPKERN_ONLY. Turns out not building any

POSIX implementations of hypercalls is useful beyond the build.sh test,
such as when building rump kernels for non-POSIX hosts.
This commit is contained in:
pooka 2013-08-30 10:29:06 +00:00
parent 7ce615b673
commit 74f1a93841
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#! /usr/bin/env sh
# $NetBSD: build.sh,v 1.272 2013/08/06 05:47:58 matt Exp $
# $NetBSD: build.sh,v 1.273 2013/08/30 10:29:06 pooka Exp $
#
# Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@ -1745,7 +1745,7 @@ createmakewrapper()
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
# Generated from: \$NetBSD: build.sh,v 1.272 2013/08/06 05:47:58 matt Exp $
# Generated from: \$NetBSD: build.sh,v 1.273 2013/08/30 10:29:06 pooka Exp $
# with these arguments: ${_args}
#
@ -1973,7 +1973,7 @@ dorump()
[ "${1}" != "rumptest" ] && bomb 'build.sh rump not yet functional. ' \
'did you mean "rumptest"?'
export RUMPTEST_BUILDSH=1
export RUMPKERN_ONLY=1
# create obj and distrib dirs
if [ "${MKOBJDIRS}" != "no" ]; then
make_in_dir "${NETBSDSRCDIR}/etc/mtree" obj

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.rump,v 1.85 2013/08/05 16:00:57 joerg Exp $
# $NetBSD: Makefile.rump,v 1.86 2013/08/30 10:29:06 pooka Exp $
#
WARNS?= 3 # XXX: src/sys won't compile with -Wsign-compare yet
@ -88,7 +88,7 @@ DPSRCS+= ${RUMPTOP}/Makefile.rump
# XXX: Warning flags are not in CWARNFLAGS. Manually add a few important ones.
.ifdef RUMPCOMP_USER && !defined(RUMPTEST_BUILDSH)
.ifdef RUMPCOMP_USER && !defined(RUMPKERN_ONLY)
.if empty(DESTDIR)
DESTDIR=/
.endif