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 <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
6b3d0c5adb
commit
49a37916a8
@ -17,6 +17,9 @@ define ESP_HOSTED_LINUX_CONFIG_FIXUPS
|
|||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
|
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211)
|
$(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211)
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_BT)
|
$(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
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ESP_HOSTED_SPI),y)
|
ifeq ($(BR2_PACKAGE_ESP_HOSTED_SPI),y)
|
||||||
|
Loading…
Reference in New Issue
Block a user