diff options
Diffstat (limited to 'sys/modules/cxgbe/t5_firmware/Makefile')
-rw-r--r-- | sys/modules/cxgbe/t5_firmware/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/modules/cxgbe/t5_firmware/Makefile b/sys/modules/cxgbe/t5_firmware/Makefile new file mode 100644 index 000000000000..2876d1a6b041 --- /dev/null +++ b/sys/modules/cxgbe/t5_firmware/Makefile @@ -0,0 +1,22 @@ +# +# + +T5FW= ${SRCTOP}/sys/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.27.4.0 +FIRMWS+= t5fw-${T5FW_VER}.bin:t5fw:${T5FW_VER} + +.include <bsd.kmod.mk> |