From 620d0e86ee16d4438c777661774f637d6c98d3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?= Date: Fri, 7 Feb 2025 16:48:35 +0100 Subject: [PATCH] package/nxp-mwifiex: fix build failure due to missing Linux options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Several drivers for different buses (USB, PCIe, SDIO) are compiled by default. Enable the kernel modules needed by these drivers to prevent build failure: CONFIG_NET CONFIG_WIRELESS CONFIG_CFG80211 CONFIG_USB_SUPPORT CONFIG_USB CONFIG_MMC CONFIG_PCIE Fixes: https://autobuild.buildroot.org/results/c679b793d0b81e7569893a03f95b2e0b8c83e268/ Signed-off-by: Sébastien Szymanski Signed-off-by: Julien Olivain --- package/nxp-mwifiex/nxp-mwifiex.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/nxp-mwifiex/nxp-mwifiex.mk b/package/nxp-mwifiex/nxp-mwifiex.mk index faacaad289..8f085668f1 100644 --- a/package/nxp-mwifiex/nxp-mwifiex.mk +++ b/package/nxp-mwifiex/nxp-mwifiex.mk @@ -11,5 +11,15 @@ NXP_MWIFIEX_LICENSE_FILES = LICENSE NXP_MWIFIEX_MAKE_OPTS = KERNELDIR=$(LINUX_DIR) +define NXP_MWIFIEX_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS) + $(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211) + $(call KCONFIG_ENABLE_OPT,CONFIG_USB_SUPPORT) + $(call KCONFIG_ENABLE_OPT,CONFIG_USB) + $(call KCONFIG_ENABLE_OPT,CONFIG_MMC) + $(call KCONFIG_ENABLE_OPT,CONFIG_PCIE) +endef + $(eval $(kernel-module)) $(eval $(generic-package))