1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../dev/cfi 4 5KMOD= cfi 6SRCS= ${_cfi_bus} cfi_core.c cfi_dev.c 7SRCS+= bus_if.h device_if.h opt_cfi.h 8 9.if ${MACHINE} == "arm" 10_cfi_bus= cfi_bus_fdt.c cfi_bus_ixp4xx.c ofw_bus_if.h 11.endif 12.if ${MACHINE} == "powerpc" 13_cfi_bus= cfi_bus_fdt.c ofw_bus_if.h 14.endif 15 16opt_cfi.h: 17 echo "#define CFI_SUPPORT_STRATAFLASH 1" > ${.TARGET} 18 19.include <bsd.kmod.mk> 20