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