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

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

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

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

T6FW_VER=	1.27.0.0
FIRMWS+=	t6fw-${T6FW_VER}.bin:t6fw:${T6FW_VER}

.include <bsd.kmod.mk>