summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorkensmith <kensmith@FreeBSD.org>2007-06-10 00:58:41 +0000
committerkensmith <kensmith@FreeBSD.org>2007-06-10 00:58:41 +0000
commit3902f6ce94459756faa361c7404fc0aa257ee364 (patch)
tree6f4d218e289fb786df6f073f496b49566fe245a7 /sys/modules
parentee6e89585db15445577551b090173cfbd6015d71 (diff)
downloadFreeBSD-src-3902f6ce94459756faa361c7404fc0aa257ee364.zip
FreeBSD-src-3902f6ce94459756faa361c7404fc0aa257ee364.tar.gz
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
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/bge/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/bge/Makefile b/sys/modules/bge/Makefile
index fa6e3fe..f8ebf42 100644
--- a/sys/modules/bge/Makefile
+++ b/sys/modules/bge/Makefile
@@ -5,4 +5,8 @@
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>
OpenPOWER on IntegriCloud