Add opt_platform.h for several modules that have #ifdef FDT in the source.

Submitted by:	Andre Albsmeier <Andre.Albsmeier@siemens.com>
This commit is contained in:
Ian Lepore 2018-04-01 18:22:24 +00:00
parent c33e3a642b
commit 74ca7bf1d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331868
5 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,7 @@ SRCS= \
iicbus_if.h \
iiconf.c \
iiconf.h \
opt_platform.h \
.if !empty(OPT_FDT)
SRCS+= ofw_iicbus.c ofw_bus_if.h

View File

@ -2,6 +2,6 @@
.PATH: ${SRCTOP}/sys/dev/isl
KMOD = isl
SRCS = isl.c device_if.h bus_if.h iicbus_if.h
SRCS = isl.c device_if.h bus_if.h iicbus_if.h opt_platform.h
.include <bsd.kmod.mk>

View File

@ -9,6 +9,7 @@ SRCS= at45d.c
SRCS+= \
bus_if.h \
device_if.h \
opt_platform.h \
spibus_if.h \
.if !empty(OPT_FDT)

View File

@ -9,6 +9,7 @@ SRCS= mx25l.c
SRCS+= \
bus_if.h \
device_if.h \
opt_platform.h \
spibus_if.h \
.if !empty(OPT_FDT)

View File

@ -13,6 +13,7 @@ SRCS+= ofw_spibus.c ofw_bus_if.h
SRCS+= \
bus_if.h \
device_if.h \
opt_platform.h \
spibus_if.c \
spibus_if.h \