diff options
author | kmacy <kmacy@FreeBSD.org> | 2007-03-14 18:20:36 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2007-03-14 18:20:36 +0000 |
commit | 5319b6e2b13c900c3c77d2b630ed7c9fff71c5b5 (patch) | |
tree | 27d0ea2f161c0e97e43b60d66574e3147027a3cd /sys/modules/cxgb | |
parent | b4e3b47a9172743ec8091319717e11556b86df77 (diff) | |
download | FreeBSD-src-5319b6e2b13c900c3c77d2b630ed7c9fff71c5b5.zip FreeBSD-src-5319b6e2b13c900c3c77d2b630ed7c9fff71c5b5.tar.gz |
Disable linking in of firmware on ia64 to avoid build failures from a
broken ld.
Diffstat (limited to 'sys/modules/cxgb')
-rw-r--r-- | sys/modules/cxgb/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/modules/cxgb/Makefile b/sys/modules/cxgb/Makefile index 8712c1a..b454315 100644 --- a/sys/modules/cxgb/Makefile +++ b/sys/modules/cxgb/Makefile @@ -8,15 +8,18 @@ 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 +CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED +CFLAGS+= -DCHELSIO_FW_MAJOR=3 -DCHELSIO_FW_MINOR=2 + +.if ${MACHINE_ARCH} != "ia64" +# ld is broken on ia64 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 - -CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED -CFLAGS+= -DCHELSIO_FW_MAJOR=3 -DCHELSIO_FW_MINOR=2 +.endif .include <bsd.kmod.mk> |