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