1f15721bdSKip Macy# $FreeBSD$ 2f15721bdSKip Macy 3f15721bdSKip MacyCXGB = ${.CURDIR}/../../dev/cxgb 4f15721bdSKip Macy.PATH: ${CXGB} ${CXGB}/common 5f15721bdSKip Macy 6f15721bdSKip MacyKMOD= if_cxgb 7f15721bdSKip MacySRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c 8f15721bdSKip MacySRCS+= cxgb_xgmac.c cxgb_t3_hw.c cxgb_main.c cxgb_sge.c cxgb_lro.c 9f15721bdSKip MacySRCS+= device_if.h bus_if.h pci_if.h 10f15721bdSKip Macy 11f15721bdSKip Macyt3fw-3.2.bin: ${CXGB}/t3fw-3.2.bin.gz.uu 12f15721bdSKip Macy uudecode -p < ${CXGB}/t3fw-3.2.bin.gz.uu \ 13f15721bdSKip Macy | gzip -dc > ${.TARGET} 14f15721bdSKip Macy 15f15721bdSKip MacyFIRMWS= t3fw-3.2.bin:t3fw32 16f15721bdSKip MacyCLEANFILES+= t3fw-3.2.bin 17f15721bdSKip Macy 18f15721bdSKip MacyCFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO 19f15721bdSKip MacyCFLAGS+= -DCHELSIO_FW_MAJOR=3 -DCHELSIO_FW_MINOR=2 20f15721bdSKip Macy 21f15721bdSKip Macy 22f15721bdSKip Macy.include <bsd.kmod.mk> 23