[Buildroot] [PATCH] package/esp-hosted: fix build failure with missing CONFIG_SPI/MMC
Giulio Benetti
giulio.benetti at benettiengineering.com
Sat Aug 12 21:20:32 UTC 2023
Depending on the interface chosen we need to enable Linux CONFIG_SPI or
CONFIG_MMC, so let's do that according to BR2_PACKAGE_ESP_HOSTED_SPI.
Fixes:
http://autobuild.buildroot.net/results/cdf65ad07aba1d86f195576a2317c83aeb3dfce2
Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
---
package/esp-hosted/esp-hosted.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/esp-hosted/esp-hosted.mk b/package/esp-hosted/esp-hosted.mk
index dcb0b3bd70..7491c46512 100644
--- a/package/esp-hosted/esp-hosted.mk
+++ b/package/esp-hosted/esp-hosted.mk
@@ -17,6 +17,9 @@ define ESP_HOSTED_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
$(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211)
$(call KCONFIG_ENABLE_OPT,CONFIG_BT)
+ $(if $(BR2_PACKAGE_ESP_HOSTED_SPI),
+ $(call KCONFIG_ENABLE_OPT,CONFIG_SPI),
+ $(call KCONFIG_ENABLE_OPT,CONFIG_MMC))
endef
ifeq ($(BR2_PACKAGE_ESP_HOSTED_SPI),y)
--
2.34.1
More information about the buildroot
mailing list