mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Add modules Makefile for cxgb
This commit is contained in:
parent
cc57017c60
commit
f15721bd52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167516
22
sys/modules/cxgb/Makefile
Normal file
22
sys/modules/cxgb/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $FreeBSD$
|
||||
|
||||
CXGB = ${.CURDIR}/../../dev/cxgb
|
||||
.PATH: ${CXGB} ${CXGB}/common
|
||||
|
||||
KMOD= if_cxgb
|
||||
SRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c
|
||||
SRCS+= cxgb_xgmac.c cxgb_t3_hw.c cxgb_main.c cxgb_sge.c cxgb_lro.c
|
||||
SRCS+= device_if.h bus_if.h pci_if.h
|
||||
|
||||
t3fw-3.2.bin: ${CXGB}/t3fw-3.2.bin.gz.uu
|
||||
uudecode -p < ${CXGB}/t3fw-3.2.bin.gz.uu \
|
||||
| gzip -dc > ${.TARGET}
|
||||
|
||||
FIRMWS= t3fw-3.2.bin:t3fw32
|
||||
CLEANFILES+= t3fw-3.2.bin
|
||||
|
||||
CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO
|
||||
CFLAGS+= -DCHELSIO_FW_MAJOR=3 -DCHELSIO_FW_MINOR=2
|
||||
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user