enetc: Add autogenerated files to Makefile

A module makefile must list all the header files it uses which are
generated at build time from interface definitions (.m files) in its
SRCS list.

Fixes: 5ad6d28cbe ("enetc: Support building the driver as a loadable module.")
This commit is contained in:
Marcin Wojtas 2021-08-08 22:23:44 +02:00
parent 4b64193bed
commit ad560dee55

View File

@ -4,5 +4,6 @@
KMOD = if_enetc KMOD = if_enetc
SRCS = if_enetc.c enetc_mdio.c 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
.include <bsd.kmod.mk> .include <bsd.kmod.mk>