Allow multiple modules within sys/modules/cxgbe. The first one is if_cxgbe.

MFC after:	3 days
This commit is contained in:
np 2011-04-01 00:25:32 +00:00
parent 053fe4b9bc
commit 85e106aaaa
2 changed files with 18 additions and 11 deletions

View File

@ -2,15 +2,6 @@
# $FreeBSD$
#
CXGBE = ${.CURDIR}/../../dev/cxgbe
.PATH: ${CXGBE} ${CXGBE}/common
SUBDIR = if_cxgbe
KMOD = if_cxgbe
SRCS = t4_main.c t4_sge.c
SRCS+= t4_hw.c
SRCS+= device_if.h bus_if.h pci_if.h
SRCS+= opt_inet.h
CFLAGS+= -g -I${CXGBE}
.include <bsd.kmod.mk>
.include <bsd.subdir.mk>

View File

@ -0,0 +1,16 @@
#
# $FreeBSD$
#
CXGBE = ${.CURDIR}/../../../dev/cxgbe
.PATH: ${CXGBE} ${CXGBE}/common
KMOD = if_cxgbe
SRCS = t4_main.c t4_sge.c
SRCS+= t4_hw.c
SRCS+= device_if.h bus_if.h pci_if.h
SRCS+= opt_inet.h
CFLAGS+= -I${CXGBE}
.include <bsd.kmod.mk>