]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/cfi/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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>