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
10 lines
203 B
Makefile
10 lines
203 B
Makefile
#$FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/enetc
|
|
|
|
KMOD = if_enetc
|
|
SRCS = if_enetc.c enetc_mdio.c
|
|
SRCS += bus_if.h device_if.h ifdi_if.h miibus_if.h ofw_bus_if.h pci_if.h opt_platform.h
|
|
|
|
.include <bsd.kmod.mk>
|