Specify RUMP_WITHOUT_THREADS only in one place.
This commit is contained in:
parent
3bca2d2000
commit
11e4a43ad9
4
sys/rump/librump/Makefile.inc
Normal file
4
sys/rump/librump/Makefile.inc
Normal file
@ -0,0 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2008/05/29 13:12:29 pooka Exp $
|
||||
#
|
||||
|
||||
CPPFLAGS+= -DRUMP_WITHOUT_THREADS
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.33 2008/05/04 12:52:58 ad Exp $
|
||||
# $NetBSD: Makefile,v 1.34 2008/05/29 13:12:29 pooka Exp $
|
||||
#
|
||||
|
||||
.include <bsd.own.mk>
|
||||
@ -44,7 +44,6 @@ OBJS+= ${RUMPUSEROBJDIR}/rumpuser.o ${RUMPUSEROBJDIR}/rumpuser_pth.o
|
||||
CPPFLAGS+= -I${NETBSDSRCDIR}/sys -I${NETBSDSRCDIR}/common/include \
|
||||
-I${NETBSDSRCDIR}/sys/rump/librump/rumpuser \
|
||||
-I${.CURDIR}/opt -DMAXUSERS=32
|
||||
CPPFLAGS+= -DRUMP_WITHOUT_THREADS
|
||||
|
||||
CFLAGS+= -Wno-pointer-sign
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 2008/03/11 10:50:16 pooka Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2008/05/29 13:12:29 pooka Exp $
|
||||
#
|
||||
|
||||
.include <bsd.own.mk>
|
||||
@ -7,8 +7,6 @@ LIB= rumpuser
|
||||
|
||||
SRCS= rumpuser.c rumpuser_pth.c
|
||||
|
||||
CPPFLAGS+= -DRUMP_WITHOUT_THREADS
|
||||
|
||||
RUMPKERNEL= no
|
||||
|
||||
.include "${NETBSDSRCDIR}/sys/rump/Makefile.rump"
|
||||
|
Loading…
Reference in New Issue
Block a user