From 3902f6ce94459756faa361c7404fc0aa257ee364 Mon Sep 17 00:00:00 2001 From: kensmith Date: Sun, 10 Jun 2007 00:58:41 +0000 Subject: 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 --- sys/modules/bge/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys') 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 -- cgit v1.1