summaryrefslogtreecommitdiffstats
path: root/sys/modules/cxgb/Makefile
blob: 5df8112bfa575cfaccd215b0854c0fe7d779f71a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $FreeBSD$

CXGB = ${.CURDIR}/../../dev/cxgb
.PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys

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+=  cxgb_offload.c cxgb_l2t.c
SRCS+=	device_if.h bus_if.h pci_if.h opt_zero.h 
SRCS+=	uipc_mvec.c

CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED -I${CXGB}
#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DDEBUG

.if ${MACHINE_ARCH} != "ia64"
# ld is broken on ia64
t3fw-4.0.0.bin: ${CXGB}/t3fw-4.0.0.bin.gz.uu
	uudecode -p < ${CXGB}/t3fw-4.0.0.bin.gz.uu \
	| gzip -dc > ${.TARGET}

FIRMWS= t3fw-4.0.0.bin:t3fw400
CLEANFILES+= t3fw-4.0.0.bin
.endif


.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud