1# $FreeBSD$ 2 3CXGB = ${.CURDIR}/../../dev/cxgb 4.PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys 5 6KMOD= if_cxgb 7SRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c 8SRCS+= cxgb_xgmac.c cxgb_t3_hw.c cxgb_main.c cxgb_sge.c cxgb_lro.c 9SRCS+= device_if.h bus_if.h pci_if.h 10SRCS+= uipc_mvec.c 11 12CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED 13 14.if ${MACHINE_ARCH} != "ia64" 15# ld is broken on ia64 16t3fw-3.2.bin: ${CXGB}/t3fw-3.2.bin.gz.uu 17 uudecode -p < ${CXGB}/t3fw-3.2.bin.gz.uu \ 18 | gzip -dc > ${.TARGET} 19 20FIRMWS= t3fw-3.2.bin:t3fw32 21CLEANFILES+= t3fw-3.2.bin 22.endif 23 24 25.include <bsd.kmod.mk> 26