Include ofw_bus_if.h in SRCS only on systems configured with the FDT option.

This commit is contained in:
Ian Lepore 2019-12-13 23:22:49 +00:00
parent c0834910ca
commit 85a6a404fb

View File

@ -9,7 +9,10 @@ SRCS+= \
bus_if.h \
device_if.h \
iicbus_if.h \
ofw_bus_if.h \
opt_platform.h \
.if !empty(OPT_FDT)
SRCS+= ofw_bus_if.h
.endif
.include <bsd.kmod.mk>