Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libnpf For now, make it possible to not spe...



details:   https://anonhg.NetBSD.org/src/rev/fcf0c355c651
branches:  trunk
changeset: 327269:fcf0c355c651
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Mar 03 14:01:30 2014 +0000

description:
For now, make it possible to not specify -D_NPF_TESTING by compiling
with RUMP_NPF_TESTING_=no.  This in turn makes it possible to use npf
in a rump kernel for real packet filtering instead of just testing.

no change to default

diffstat:

 sys/rump/net/lib/libnpf/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r ec625812982a -r fcf0c355c651 sys/rump/net/lib/libnpf/Makefile
--- a/sys/rump/net/lib/libnpf/Makefile  Mon Mar 03 13:56:40 2014 +0000
+++ b/sys/rump/net/lib/libnpf/Makefile  Mon Mar 03 14:01:30 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2013/11/08 00:38:27 rmind Exp $
+#      $NetBSD: Makefile,v 1.10 2014/03/03 14:01:30 pooka Exp $
 #
 # Public Domain.
 #
@@ -19,7 +19,9 @@
 
 SRCS+= component.c
 
+.if ${RUMP_NPF_TESTING:Uyes} == "yes"
 CPPFLAGS+=     -D_NPF_TESTING
+.endif
 CPPFLAGS+=     -I${.CURDIR}/../../../librump/rumpvfs
 
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index