Allow multiple modules within sys/modules/cxgbe. The first one is if_cxgbe.
MFC after: 3 days
This commit is contained in:
parent
053fe4b9bc
commit
85e106aaaa
@ -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>
|
||||
|
16
sys/modules/cxgbe/if_cxgbe/Makefile
Normal file
16
sys/modules/cxgbe/if_cxgbe/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user