aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/cxgbe/t4_firmware/Makefile
blob: e525edf96ce2f48dacd102a74f04778577a84c85 (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$
#

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

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

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

T4FW_VER=	1.26.2.0
FIRMWS+=	t4fw-${T4FW_VER}.bin:t4fw:${T4FW_VER}

.include <bsd.kmod.mk>