aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/cxgbe/t5_firmware/Makefile
blob: 0575e6da42c79bea2031d5a3a5579bd2843c6e63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# $FreeBSD$
#

T5FW=	${SRCTOP}/sys/dev/cxgbe/firmware
.PATH: ${T5FW}

KMOD=	t5fw_cfg
FIRMWS=	${KMOD}.txt:${KMOD}:1.0.0.0

# You can have additional configuration files in the ${T5FW} directory.
# t5fw_cfg_<name>.txt
CFG_FILES != cd ${T5FW} && echo ${KMOD}_*.txt
.for F in ${CFG_FILES}
.if exists(${F})
FIRMWS+=	${F}:${F:C/.txt//}:1.0.0.0
.endif
.endfor

T5FW_VER=	1.24.12.0
FIRMWS+=	t5fw-${T5FW_VER}.bin:t5fw:${T5FW_VER}

.include <bsd.kmod.mk>