Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2021 20:27:45 GMT
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ad560dee552e - main - enetc: Add autogenerated files to Makefile
Message-ID:  <202108082027.178KRjBV075040@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mw:

URL: https://cgit.FreeBSD.org/src/commit/?id=ad560dee552e24145b6a527ee94ef9e29a2d9cd2

commit ad560dee552e24145b6a527ee94ef9e29a2d9cd2
Author:     Marcin Wojtas <mw@FreeBSD.org>
AuthorDate: 2021-08-08 20:23:44 +0000
Commit:     Marcin Wojtas <mw@FreeBSD.org>
CommitDate: 2021-08-08 20:27:16 +0000

    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: 5ad6d28cbe6b ("enetc: Support building the driver as a loadable module.")
---
 sys/modules/enetc/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/modules/enetc/Makefile b/sys/modules/enetc/Makefile
index 694ec2043f37..1f6bf36927bb 100644
--- a/sys/modules/enetc/Makefile
+++ b/sys/modules/enetc/Makefile
@@ -4,5 +4,6 @@
 
 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
 
 .include <bsd.kmod.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108082027.178KRjBV075040>