package/esp-hosted: fix build failure with missing CONFIG_SPI/MMC
PATCH 1/1 package/esp-hosted: fix build failure with missing CONFIG_SPI/MMC
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 <[email protected]>
--- package/esp-hosted/esp-hosted.mk | 3 +++ 1 file changed, 3 insertions(+)
package/esp-hosted/esp-hosted.mk +3 -0
@@ -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)
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 10 lines · On Sat, 12 Aug 2023 23:20:32 +0200 Giulio Benetti…
Depending on the interface chosen we need to enable Linux
CONFIG_SPIorCONFIG_MMC, so let's do that according toBR2_PACKAGE_ESP_HOSTED_SPI.Fixes:
http://autobuild.buildroot.net/results/cdf65ad07aba1d86f195576a2317c83aeb3dfce2Signed-off-by Giulio Benetti <[email protected]>--- package/esp-hosted/esp-hosted.mk | 3 +++ 1 file changed, 3 insertions(+)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot