add bpf kmod

This commit is contained in:
pooka 2010-01-25 22:21:28 +00:00
parent b2bb0f38d5
commit 27d2b45e99
3 changed files with 18 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.5 2009/12/05 20:11:02 pooka Exp $
# $NetBSD: mi,v 1.6 2010/01/25 22:21:28 pooka Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -14,6 +14,8 @@
./@MODULEDIR@/adosfs/adosfs.kmod base-kernel-modules kmod
./@MODULEDIR@/aio base-kernel-modules kmod
./@MODULEDIR@/aio/aio.kmod base-kernel-modules kmod
./@MODULEDIR@/bpf base-kernel-modules kmod
./@MODULEDIR@/bpf/bpf.kmod base-kernel-modules kmod
./@MODULEDIR@/cd9660 base-kernel-modules kmod
./@MODULEDIR@/cd9660/cd9660.kmod base-kernel-modules kmod
./@MODULEDIR@/coda base-kernel-modules kmod

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.37 2010/01/05 20:49:04 dyoung Exp $
# $NetBSD: Makefile,v 1.38 2010/01/25 22:21:28 pooka Exp $
.include <bsd.own.mk>
@ -8,6 +8,7 @@ SUBDIR= accf_dataready
SUBDIR+= accf_httpready
SUBDIR+= adosfs
SUBDIR+= aio
SUBDIR+= bpf
SUBDIR+= cd9660
SUBDIR+= coda
SUBDIR+= coda5

13
sys/modules/bpf/Makefile Normal file
View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1 2010/01/25 22:21:28 pooka Exp $
#
.include "../Makefile.inc"
.PATH: ${S}/net
KMOD= bpf
# XXX: bpf_filter.c maybe needs to be its own module (or made
# inseparable from bpfilter?)
SRCS= bpf.c bpf_filter.c
.include <bsd.kmodule.mk>