freebsd-dev/sys/modules/spi/spibus/Makefile
Ian Lepore 74ca7bf1d4 Add opt_platform.h for several modules that have #ifdef FDT in the source.
Submitted by:	Andre Albsmeier <Andre.Albsmeier@siemens.com>
2018-04-01 18:22:24 +00:00

21 lines
265 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/dev/spibus
KMOD= spibus
SRCS= spibus.c
.if !empty(OPT_FDT)
SRCS+= ofw_spibus.c ofw_bus_if.h
.endif
# Generated files...
SRCS+= \
bus_if.h \
device_if.h \
opt_platform.h \
spibus_if.c \
spibus_if.h \
.include <bsd.kmod.mk>