3 .PATH: ${.CURDIR}/../../dev/cfi
6 SRCS= ${_cfi_bus} cfi_core.c cfi_dev.c
7 SRCS+= bus_if.h device_if.h opt_cfi.h
9 .if ${MACHINE} == "arm"
10 _cfi_bus= cfi_bus_fdt.c cfi_bus_ixp4xx.c ofw_bus_if.h
12 .if ${MACHINE} == "powerpc"
13 _cfi_bus= cfi_bus_fdt.c ofw_bus_if.h
17 echo "#define CFI_SUPPORT_STRATAFLASH 1" > ${.TARGET}
19 .include <bsd.kmod.mk>