diff options
author | kensmith <kensmith@FreeBSD.org> | 2007-06-10 00:58:41 +0000 |
---|---|---|
committer | kensmith <kensmith@FreeBSD.org> | 2007-06-10 00:58:41 +0000 |
commit | 3902f6ce94459756faa361c7404fc0aa257ee364 (patch) | |
tree | 6f4d218e289fb786df6f073f496b49566fe245a7 /sys/modules/bge/Makefile | |
parent | ee6e89585db15445577551b090173cfbd6015d71 (diff) | |
download | FreeBSD-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/bge/Makefile')
-rw-r--r-- | sys/modules/bge/Makefile | 4 |
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> |