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
12 lines
209 B
Makefile
12 lines
209 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?=${SRCTOP}/sys
|
|
|
|
.PATH: ${SYSDIR}/dev/tsec
|
|
|
|
KMOD= if_tsec
|
|
SRCS= if_tsec.c if_tsec_fdt.c
|
|
SRCS+= bus_if.h device_if.h miibus_if.h miidevs.h ofw_bus_if.h opt_platform.h
|
|
|
|
.include <bsd.kmod.mk>
|