Date: Sat, 18 Apr 2026 01:12:52 +0000 From: Bjoern A. Zeeb <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f5cd992fa902 - main - bnxt_en: fix module Makefile for LinuxKPI Message-ID: <69e2da94.4660f.771e7fad@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f5cd992fa902ebb27a3a1042ee8e0d4d351bb361 commit f5cd992fa902ebb27a3a1042ee8e0d4d351bb361 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2026-04-16 10:05:51 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-04-18 01:12:11 +0000 bnxt_en: fix module Makefile for LinuxKPI Rather than manually including the include directory for LinuxKPI use the provided macro. Before there was no -I for the dummy directory and as files synced from Linux under a permissive license may include them the build would fail. overflow.h will include linux/const.h which only exists as a dummy header at this point on FreeBSD. Sponsored by: The FreeBSD Foundation Fixes: 35b53f8c989f6 MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D56424 --- sys/modules/bnxt/bnxt_en/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/modules/bnxt/bnxt_en/Makefile b/sys/modules/bnxt/bnxt_en/Makefile index d90f3b91d860..12c23898c106 100644 --- a/sys/modules/bnxt/bnxt_en/Makefile +++ b/sys/modules/bnxt/bnxt_en/Makefile @@ -14,6 +14,6 @@ SRCS += ${LINUXKPI_GENSRCS} CFLAGS+= -DIFLIB CFLAGS+= -I${SRCTOP}/sys/ofed/include -CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include +CFLAGS+= ${LINUXKPI_INCLUDES} .include <bsd.kmod.mk>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e2da94.4660f.771e7fad>
