Deleted Added
full compact
Makefile (267849) Makefile (270297)
1#
1#
2# $FreeBSD: stable/10/sys/modules/cxgbe/t5_firmware/Makefile 267849 2014-06-25 02:14:55Z np $
2# $FreeBSD: stable/10/sys/modules/cxgbe/t5_firmware/Makefile 270297 2014-08-21 19:54:02Z np $
3#
4
3#
4
5T5FW = ${.CURDIR}/../../../dev/cxgbe/firmware
5T5FW= ${.CURDIR}/../../../dev/cxgbe/firmware
6.PATH: ${T5FW}
7
6.PATH: ${T5FW}
7
8KMOD = t5fw_cfg
9FIRMWS = ${KMOD}.txt:${KMOD}:1.0.0.0
8KMOD= t5fw_cfg
9FIRMWS= ${KMOD}.txt:${KMOD}:1.0.0.0
10
11# You can have additional configuration files in the ${T5FW} directory.
12# t5fw_cfg_<name>.txt
13CFG_FILES != cd ${T5FW} && echo ${KMOD}_*.txt
14.for F in ${CFG_FILES}
15.if exists(${F})
10
11# You can have additional configuration files in the ${T5FW} directory.
12# t5fw_cfg_<name>.txt
13CFG_FILES != cd ${T5FW} && echo ${KMOD}_*.txt
14.for F in ${CFG_FILES}
15.if exists(${F})
16FIRMWS += ${F}:${F:C/.txt//}:1.0.0.0
16FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
17.endif
18.endfor
19
17.endif
18.endfor
19
20T5FW_VER = 1.11.27.0
21FIRMWS += t5fw.fw:t5fw:${T5FW_VER}
22CLEANFILES += t5fw.fw
20T5FW_VER= 1.11.27.0
21FIRMWS+= t5fw.fw:t5fw:${T5FW_VER}
22CLEANFILES+= t5fw.fw
23
24t5fw.fw: t5fw-${T5FW_VER}.bin.uu
25 uudecode -o ${.TARGET} ${.ALLSRC}
26
27.include <bsd.kmod.mk>
23
24t5fw.fw: t5fw-${T5FW_VER}.bin.uu
25 uudecode -o ${.TARGET} ${.ALLSRC}
26
27.include <bsd.kmod.mk>