Date: Sat, 4 Apr 2015 20:30:21 +0000 (UTC) From: Andreas Tobler <andreast@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281083 - head/sys/modules/i2c/iicbb Message-ID: <201504042030.t34KULJf048191@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andreast Date: Sat Apr 4 20:30:20 2015 New Revision: 281083 URL: https://svnweb.freebsd.org/changeset/base/281083 Log: Fix build race on armv6* and powerpc*. Tested with cross builds amd64 -> armv6(hf) and powerpc(64). Suggested by: andrew@ Modified: head/sys/modules/i2c/iicbb/Makefile Modified: head/sys/modules/i2c/iicbb/Makefile ============================================================================== --- head/sys/modules/i2c/iicbb/Makefile Sat Apr 4 20:22:12 2015 (r281082) +++ head/sys/modules/i2c/iicbb/Makefile Sat Apr 4 20:30:20 2015 (r281083) @@ -1,8 +1,11 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../../dev/iicbus +.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "powerpc" +ofw_bus_if= ofw_bus_if.h +.endif KMOD = iicbb SRCS = device_if.h bus_if.h iicbus_if.h \ - iicbb_if.h iicbb_if.c iicbb.c opt_platform.h + iicbb_if.h iicbb_if.c iicbb.c ${ofw_bus_if} opt_platform.h .include <bsd.kmod.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504042030.t34KULJf048191>