miivar.h includes opt_platform.h. Make sure all the drivers that use the miibus_if.h interface file have opt_platform.h as well. While some of these may not, strictly speaking, need it, it's easier to include it universally for miibus. Sponsored by: Netflix
13 lines
235 B
Makefile
13 lines
235 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/cas
|
|
|
|
KMOD= if_cas
|
|
SRCS= bus_if.h device_if.h if_cas.c miibus_if.h pci_if.h ${ofw_bus_if} opt_platform.h
|
|
|
|
.if ${MACHINE_CPUARCH} == "powerpc"
|
|
ofw_bus_if= ofw_bus_if.h
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|