svn commit: r356017 - stable/12/sys/modules/i2c/ads111x
Ian Lepore
ian at FreeBSD.org
Sun Dec 22 18:11:58 UTC 2019
Author: ian
Date: Sun Dec 22 18:11:57 2019
New Revision: 356017
URL: https://svnweb.freebsd.org/changeset/base/356017
Log:
MFC r355738:
Include ofw_bus_if.h in SRCS only on systems configured with the FDT option.
Modified:
stable/12/sys/modules/i2c/ads111x/Makefile
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/modules/i2c/ads111x/Makefile
==============================================================================
--- stable/12/sys/modules/i2c/ads111x/Makefile Sun Dec 22 18:10:01 2019 (r356016)
+++ stable/12/sys/modules/i2c/ads111x/Makefile Sun Dec 22 18:11:57 2019 (r356017)
@@ -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>
More information about the svn-src-stable
mailing list