cvs commit: src/sys/modules/bge Makefile
M. Warner Losh
imp at bsdimp.com
Sun Jun 10 04:44:58 UTC 2007
In message: <20070610032218.GA4634 at sub.vaned.net>
"Christian S.J. Peron" <csjp at FreeBSD.org> 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 <bsd.kmod.mk>
: >
MACHINE_ARCH is sparc64 when MACHINE is sun4v, so this looks to be the
correct fix for both.
Warner
More information about the cvs-all
mailing list