]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/modules/cfi/Makefile
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / sys / modules / cfi / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/cfi
4
5 KMOD=   cfi
6 SRCS=   ${_cfi_bus} cfi_core.c cfi_dev.c
7 SRCS+=  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
16 opt_cfi.h:
17         echo "#define CFI_SUPPORT_STRATAFLASH 1" > ${.TARGET}
18
19 .include <bsd.kmod.mk>