Deleted Added
full compact
Makefile (170654) Makefile (171471)
1# $FreeBSD: head/sys/modules/cxgb/Makefile 170654 2007-06-13 05:36:00Z kmacy $
1# $FreeBSD: head/sys/modules/cxgb/Makefile 171471 2007-07-17 06:50:35Z kmacy $
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_vsc7323.c cxgb_t3_hw.c cxgb_main.c
9SRCS+= cxgb_sge.c cxgb_lro.c cxgb_offload.c cxgb_l2t.c
10SRCS+= device_if.h bus_if.h pci_if.h opt_zero.h
11SRCS+= uipc_mvec.c
12
13CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DCONFIG_DEFINED -DDEFAULT_JUMBO -I${CXGB}
14#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS
15
16.if ${MACHINE_ARCH} != "ia64"
17# ld is broken on ia64
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_vsc7323.c cxgb_t3_hw.c cxgb_main.c
9SRCS+= cxgb_sge.c cxgb_lro.c cxgb_offload.c cxgb_l2t.c
10SRCS+= device_if.h bus_if.h pci_if.h opt_zero.h
11SRCS+= uipc_mvec.c
12
13CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DCONFIG_DEFINED -DDEFAULT_JUMBO -I${CXGB}
14#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS
15
16.if ${MACHINE_ARCH} != "ia64"
17# ld is broken on ia64
18t3fw-4.1.0.bin: ${CXGB}/t3fw-4.1.0.bin.gz.uu
19 uudecode -p < ${CXGB}/t3fw-4.1.0.bin.gz.uu \
18t3fw-4.5.0.bin: ${CXGB}/t3fw-4.5.0.bin.gz.uu
19 uudecode -p < ${CXGB}/t3fw-4.5.0.bin.gz.uu \
20 | gzip -dc > ${.TARGET}
21
20 | gzip -dc > ${.TARGET}
21
22FIRMWS= t3fw-4.1.0.bin:t3fw410
23CLEANFILES+= t3fw-4.1.0.bin
22FIRMWS= t3fw-4.5.0.bin:t3fw450
23CLEANFILES+= t3fw-4.5.0.bin
24
25t3b_protocol_sram-1.1.0.bin: ${CXGB}/t3b_protocol_sram-1.1.0.bin.gz.uu
26 uudecode -p < ${CXGB}/t3b_protocol_sram-1.1.0.bin.gz.uu \
27 | gzip -dc > ${.TARGET}
28
29FIRMWS+= t3b_protocol_sram-1.1.0.bin:t3bps110
30CLEANFILES+= t3b_protocol_sram-1.1.0.bin
31
32t3b_tp_eeprom-1.1.0.bin: ${CXGB}/t3b_tp_eeprom-1.1.0.bin.gz.uu
33 uudecode -p < ${CXGB}/t3b_tp_eeprom-1.1.0.bin.gz.uu \
34 | gzip -dc > ${.TARGET}
35
36FIRMWS+= t3b_tp_eeprom-1.1.0.bin:t3btpe110
37CLEANFILES+= t3b_tp_eeprom-1.1.0.bin
38
39
24.endif
25
26
27.include <bsd.kmod.mk>
40.endif
41
42
43.include <bsd.kmod.mk>