Date: Sun, 22 Dec 2019 18:11:57 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r356017 - stable/12/sys/modules/i2c/ads111x Message-ID: <201912221811.xBMIBvpx090366@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912221811.xBMIBvpx090366>