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
5 changed files with 5 additions and 1 deletions

View File

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

View File

@ -2,6 +2,6 @@
.PATH: ${SRCTOP}/sys/dev/isl .PATH: ${SRCTOP}/sys/dev/isl
KMOD = 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> .include <bsd.kmod.mk>

View File

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

View File

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

View File

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