diff options
Diffstat (limited to 'sys/modules/cxgbe/t4_firmware/Makefile')
-rw-r--r-- | sys/modules/cxgbe/t4_firmware/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/modules/cxgbe/t4_firmware/Makefile b/sys/modules/cxgbe/t4_firmware/Makefile new file mode 100644 index 000000000000..fea29a5c1661 --- /dev/null +++ b/sys/modules/cxgbe/t4_firmware/Makefile @@ -0,0 +1,27 @@ +# +# $FreeBSD$ +# + +T4FW = ${.CURDIR}/../../../dev/cxgbe/firmware +.PATH: ${T4FW} + +KMOD = t4fw_cfg +FIRMWS = ${KMOD}.txt:${KMOD}:1.0.0.0 + +# You can have additional configuration files in the ${T4FW} directory. +# t4fw_cfg_<name>.txt +CFG_FILES != cd ${T4FW} && echo ${KMOD}_*.txt +.for F in ${CFG_FILES} +.if exists(${F}) +FIRMWS += ${F}:${F:C/.txt//}:1.0.0.0 +.endif +.endfor + +T4FW_VER = 1.8.4.0 +FIRMWS += t4fw.fw:t4fw:${T4FW_VER} +CLEANFILES += t4fw.fw + +t4fw.fw: t4fw-${T4FW_VER}.bin.uu + uudecode -o ${.TARGET} ${.ALLSRC} + +.include <bsd.kmod.mk> |