From owner-cvs-src@FreeBSD.ORG Sun Jun 10 04:44:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0B0916A41F; Sun, 10 Jun 2007 04:44:57 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id ACD1B13C45D; Sun, 10 Jun 2007 04:44:57 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l5A4iHLe021878; Sat, 9 Jun 2007 22:44:17 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 09 Jun 2007 22:44:41 -0600 (MDT) Message-Id: <20070609.224441.-399275939.imp@bsdimp.com> To: csjp@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <20070610032218.GA4634@sub.vaned.net> References: <200706100058.l5A0wfFF012993@repoman.freebsd.org> <20070610032218.GA4634@sub.vaned.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sat, 09 Jun 2007 22:44:17 -0600 (MDT) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, kensmith@FreeBSD.org Subject: Re: cvs commit: src/sys/modules/bge Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 04:44:58 -0000 In message: <20070610032218.GA4634@sub.vaned.net> "Christian S.J. Peron" writes: : Would this also be an issue on sun4v? : : On Sun, Jun 10, 2007 at 12:58:41AM +0000, Ken Smith wrote: : > kensmith 2007-06-10 00:58:41 UTC : > : > FreeBSD src repository : > : > Modified files: : > sys/modules/bge Makefile : > Log: : > Add ofw_bus_if.h as a dependency on sparc64. Without this sparc64 kernel : > builds had been succeeding if run serially but could fail if run in : > parallel because the bge module build might start before ofw_bus_if.h : > got created as part of the mainline kernel build. : > : > Diagnosis and patch by: ru : > : > Revision Changes Path : > 1.6 +4 -0 src/sys/modules/bge/Makefile : > http://cvsweb.FreeBSD.org/src/sys/modules/bge/Makefile.diff?r1=1.5&r2=1.6 : > | --- src/sys/modules/bge/Makefile 2006/11/03 21:41:19 1.5 : > | +++ src/sys/modules/bge/Makefile 2007/06/10 00:58:41 1.6 : > | @@ -1,8 +1,12 @@ : > | -# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/modules/bge/Makefile,v 1.5 2006/11/03 21:41:19 ru Exp $ : > | +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/modules/bge/Makefile,v 1.6 2007/06/10 00:58:41 kensmith Exp $ : > | : > | .PATH: ${.CURDIR}/../../dev/bge : > | : > | KMOD= if_bge : > | SRCS= if_bge.c miibus_if.h miidevs.h device_if.h bus_if.h pci_if.h : > | + : > | +.if ${MACHINE_ARCH} == sparc64 : > | +SRCS+= ofw_bus_if.h : > | +.endif : > | : > | .include : > MACHINE_ARCH is sparc64 when MACHINE is sun4v, so this looks to be the correct fix for both. Warner