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