]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/modules/cxgbe/t6_firmware/Makefile
MFC r319872, r321063, r321582, r322034, r322425, r322962, r322985,
[FreeBSD/stable/10.git] / sys / modules / cxgbe / t6_firmware / Makefile
1 #
2 # $FreeBSD$
3 #
4
5 T6FW=   ${.CURDIR}/../../../dev/cxgbe/firmware
6 .PATH: ${T6FW}
7
8 KMOD=   t6fw_cfg
9 FIRMWS= ${KMOD}.txt:${KMOD}:1.0.0.0
10
11 # You can have additional configuration files in the ${T6FW} directory.
12 # t6fw_cfg_<name>.txt
13 CFG_FILES != cd ${T6FW} && echo ${KMOD}_*.txt
14 .for F in ${CFG_FILES}
15 .if exists(${F})
16 FIRMWS+=        ${F}:${F:C/.txt//}:1.0.0.0
17 .endif
18 .endfor
19
20 T6FW_VER=       1.23.0.0
21 FIRMWS+=        t6fw.fw:t6fw:${T6FW_VER}
22 CLEANFILES+=    t6fw.fw
23
24 t6fw.fw: t6fw-${T6FW_VER}.bin.uu
25         uudecode -o ${.TARGET} ${.ALLSRC}
26
27 .include <bsd.kmod.mk>