diff options
author | np <np@FreeBSD.org> | 2013-07-03 23:52:15 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2013-07-03 23:52:15 +0000 |
commit | d57fff39870254b2d8d537f69ae5ebc1142ab6df (patch) | |
tree | 597a994c29e206e7d1812c5981896e494d43a641 /sys/modules/cxgbe/t5_firmware/Makefile | |
parent | c0361090f3b06ca4a549ca5e3da0756d5bcb618a (diff) | |
download | FreeBSD-src-d57fff39870254b2d8d537f69ae5ebc1142ab6df.zip FreeBSD-src-d57fff39870254b2d8d537f69ae5ebc1142ab6df.tar.gz |
- Include the T5 firmware with the driver.
- Update the T4 firmware to the latest.
- Minor reorganization and updates to the version macros, etc.
Obtained from: Chelsio
MFC after: 1 day
Diffstat (limited to 'sys/modules/cxgbe/t5_firmware/Makefile')
-rw-r--r-- | sys/modules/cxgbe/t5_firmware/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/modules/cxgbe/t5_firmware/Makefile b/sys/modules/cxgbe/t5_firmware/Makefile new file mode 100644 index 0000000..6637b22 --- /dev/null +++ b/sys/modules/cxgbe/t5_firmware/Makefile @@ -0,0 +1,27 @@ +# +# $FreeBSD$ +# + +T5FW = ${.CURDIR}/../../../dev/cxgbe/firmware +.PATH: ${T5FW} + +KMOD = t5fw_cfg +FIRMWS = ${KMOD}.txt:${KMOD}:1.0.0.0 + +# You can have additional configuration files in the ${T5FW} directory. +# t5fw_cfg_<name>.txt +CFG_FILES != cd ${T5FW} && echo ${KMOD}_*.txt +.for F in ${CFG_FILES} +.if exists(${F}) +FIRMWS += ${F}:${F:C/.txt//}:1.0.0.0 +.endif +.endfor + +T5FW_VER = 1.8.22.0 +FIRMWS += t5fw.fw:t5fw:${T5FW_VER} +CLEANFILES += t5fw.fw + +t5fw.fw: t5fw-${T5FW_VER}.bin.uu + uudecode -o ${.TARGET} ${.ALLSRC} + +.include <bsd.kmod.mk> |