From owner-svn-src-all@FreeBSD.ORG Sat Apr 4 20:30:21 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75348542; Sat, 4 Apr 2015 20:30:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6059C85D; Sat, 4 Apr 2015 20:30:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t34KULYO048193; Sat, 4 Apr 2015 20:30:21 GMT (envelope-from andreast@FreeBSD.org) Received: (from andreast@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t34KULJf048191; Sat, 4 Apr 2015 20:30:21 GMT (envelope-from andreast@FreeBSD.org) Message-Id: <201504042030.t34KULJf048191@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: andreast set sender to andreast@FreeBSD.org using -f From: Andreas Tobler Date: Sat, 4 Apr 2015 20:30:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281083 - head/sys/modules/i2c/iicbb X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2015 20:30:21 -0000 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