opnsense-src/sys/modules/cas/Makefile
Warner Losh 32d8af2b2d MFC mii: Add opt_platform.h to all miibus drivers
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

(cherry picked from commit b111430e54)

Author:    Warner Losh <imp@FreeBSD.org>
2022-06-05 23:49:24 +07:00

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