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
This commit is contained in:
kensmith 2007-06-10 00:58:41 +00:00
parent ee6e89585d
commit 3902f6ce94

View File

@ -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>