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>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"