freebsd-dev/sys/modules/spi/mx25l/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

20 lines
234 B
Makefile

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