Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/esp-hosted: fix build failure with missing CONFIG_SPI/MMC
@ 2023-08-12 21:20 Giulio Benetti
  2023-08-22 20:10 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Giulio Benetti @ 2023-08-12 21:20 UTC (permalink / raw)
  To: buildroot; +Cc: Giulio Benetti

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>
---
 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

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/esp-hosted: fix build failure with missing CONFIG_SPI/MMC
  2023-08-12 21:20 [Buildroot] [PATCH] package/esp-hosted: fix build failure with missing CONFIG_SPI/MMC Giulio Benetti
@ 2023-08-22 20:10 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-22 20:10 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: buildroot

On Sat, 12 Aug 2023 23:20:32 +0200
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

> 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>
> ---
>  package/esp-hosted/esp-hosted.mk | 3 +++
>  1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-22 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-12 21:20 [Buildroot] [PATCH] package/esp-hosted: fix build failure with missing CONFIG_SPI/MMC Giulio Benetti
2023-08-22 20:10 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox