From c35f7f23dba26b01f505e3d5dd75aa974c1abd46 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Mon, 6 Mar 2023 13:10:02 +0800 Subject: [PATCH] i40e: fix generate compat headers Fixes: #896 Signed-off-by: Tianling Shen --- package/kernel/i40e/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/kernel/i40e/Makefile b/package/kernel/i40e/Makefile index 2fc94b9f39..4f81c5ace5 100644 --- a/package/kernel/i40e/Makefile +++ b/package/kernel/i40e/Makefile @@ -37,6 +37,17 @@ define KernelPackage/i40e-vendor/description Kernel modules for Intel(R) Ethernet Controller XL710 Family 40 Gigabit Ethernet adapters. endef +define Build/Configure + ( \ + pushd $(PKG_BUILD_DIR)/src ; \ + KSRC=$(LINUX_DIR) \ + OUT=kcompat_generated_defs.h \ + CONFFILE=$(LINUX_DIR)/include/generated/autoconf.h \ + bash kcompat-generator.sh ; \ + popd ; \ + ) +endef + define Build/Compile +$(KERNEL_MAKE) $(PKG_JOBS) \ M=$(PKG_BUILD_DIR)/src \