xref: /freebsd/sys/modules/cxgbe/t5_firmware/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1#
2#
3
4T5FW=	${SRCTOP}/sys/dev/cxgbe/firmware
5.PATH: ${T5FW}
6
7KMOD=	t5fw_cfg
8FIRMWS=	${KMOD}.txt:${KMOD}:1.0.0.0
9
10# You can have additional configuration files in the ${T5FW} directory.
11# t5fw_cfg_<name>.txt
12CFG_FILES != cd ${T5FW} && echo ${KMOD}_*.txt
13.for F in ${CFG_FILES}
14.if exists(${F})
15FIRMWS+=	${F}:${F:C/.txt//}:1.0.0.0
16.endif
17.endfor
18
19T5FW_VER=	1.27.5.0
20FIRMWS+=	t5fw-${T5FW_VER}.bin:t5fw:${T5FW_VER}
21
22.include <bsd.kmod.mk>
23