blob: 18ddb8be87280edaa282f6668ba217b82ea2c6a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
.PATH: ${SRCTOP}/sys/dev/spibus
KMOD= spibus
SRCS= spibus.c
.if !empty(OPT_FDT)
SRCS+= ofw_spibus.c ofw_bus_if.h
.endif
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "i386"
SRCS+= acpi_spibus.c opt_acpi.h acpi_if.h
.endif
# Generated files...
SRCS+= \
bus_if.h \
device_if.h \
opt_platform.h \
spibus_if.c \
spibus_if.h \
EXPORT_SYMS= YES
.include <bsd.kmod.mk>
|