1252661Snp# 2252661Snp# $FreeBSD: releng/11.0/sys/modules/cxgbe/t5_firmware/Makefile 299685 2016-05-13 17:38:59Z np $ 3252661Snp# 4252661Snp 5269364SnpT5FW= ${.CURDIR}/../../../dev/cxgbe/firmware 6252661Snp.PATH: ${T5FW} 7252661Snp 8269364SnpKMOD= t5fw_cfg 9269364SnpFIRMWS= ${KMOD}.txt:${KMOD}:1.0.0.0 10252661Snp 11252661Snp# You can have additional configuration files in the ${T5FW} directory. 12252661Snp# t5fw_cfg_<name>.txt 13252661SnpCFG_FILES != cd ${T5FW} && echo ${KMOD}_*.txt 14252661Snp.for F in ${CFG_FILES} 15252661Snp.if exists(${F}) 16269364SnpFIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0 17252661Snp.endif 18252661Snp.endfor 19252661Snp 20299685SnpT5FW_VER= 1.15.37.0 21269364SnpFIRMWS+= t5fw.fw:t5fw:${T5FW_VER} 22269364SnpCLEANFILES+= t5fw.fw 23252661Snp 24252661Snpt5fw.fw: t5fw-${T5FW_VER}.bin.uu 25252661Snp uudecode -o ${.TARGET} ${.ALLSRC} 26252661Snp 27252661Snp.include <bsd.kmod.mk> 28