26 lines
614 B
Makefile
Raw Normal View History

2007-03-14 02:47:38 +00:00
# $FreeBSD$
CXGB = ${.CURDIR}/../../dev/cxgb
2007-04-08 15:18:03 +00:00
.PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys
2007-03-14 02:47:38 +00:00
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
2007-04-08 15:18:03 +00:00
SRCS+= uipc_mvec.c
2007-03-14 02:47:38 +00:00
CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED
.if ${MACHINE_ARCH} != "ia64"
# ld is broken on ia64
2007-03-14 02:47:38 +00:00
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
.endif
2007-03-14 02:47:38 +00:00
.include <bsd.kmod.mk>