Sfoglia il codice sorgente

package/nxp-mwifiex: fix build failure due to missing Linux options

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 <sebastien.szymanski@armadeus.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Sébastien Szymanski 5 mesi fa
parent
commit
620d0e86ee
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      package/nxp-mwifiex/nxp-mwifiex.mk

+ 10 - 0
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))