]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/cxgbe/t4_firmware/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / cxgbe / t4_firmware / Makefile
1 #
2 # $FreeBSD$
3 #
4
5 T4FW = ${.CURDIR}/../../../dev/cxgbe/firmware
6 .PATH: ${T4FW}
7
8 KMOD = t4fw_cfg
9 FIRMWS = ${KMOD}.txt:${KMOD}:1.0.0.0
10
11 # You can have additional configuration files in the ${T4FW} directory.
12 # t4fw_cfg_<name>.txt
13 CFG_FILES != cd ${T4FW} && 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 T4FW_VER = 1.8.11.0
21 FIRMWS += t4fw.fw:t4fw:${T4FW_VER}
22 CLEANFILES += t4fw.fw
23
24 t4fw.fw: t4fw-${T4FW_VER}.bin.uu
25         uudecode -o ${.TARGET} ${.ALLSRC}
26
27 .include <bsd.kmod.mk>