xref: /freebsd/sys/modules/cxgbe/t6_firmware/Makefile (revision 069ac18495ad8fde2748bc94b0f80a50250bb01d)
1#
2#
3
4T6FW=	${SRCTOP}/sys/dev/cxgbe/firmware
5.PATH: ${T6FW}
6
7KMOD=	t6fw_cfg
8FIRMWS=	${KMOD}.txt:${KMOD}:1.0.0.0
9
10# You can have additional configuration files in the ${T6FW} directory.
11# t6fw_cfg_<name>.txt
12CFG_FILES != cd ${T6FW} && 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
19T6FW_VER=	1.27.5.0
20FIRMWS+=	t6fw-${T6FW_VER}.bin:t6fw:${T6FW_VER}
21
22.include <bsd.kmod.mk>
23