[PATCH 05/31] staging: wfx: explain uncommon Makefile statement
From: Jerome Pouiller
Date: Thu Jan 13 2022 - 03:56:02 EST
From: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx>
I have got questions about this line from several reviewers. A comment
is definitively welcome.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx>
---
drivers/staging/wfx/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/wfx/Makefile b/drivers/staging/wfx/Makefile
index 1e99e6ffe044..ae94c6552d77 100644
--- a/drivers/staging/wfx/Makefile
+++ b/drivers/staging/wfx/Makefile
@@ -20,6 +20,7 @@ wfx-y := \
sta.o \
debug.o
wfx-$(CONFIG_SPI) += bus_spi.o
+# When CONFIG_MMC == m, append to 'wfx-y' (and not to 'wfx-m')
wfx-$(subst m,y,$(CONFIG_MMC)) += bus_sdio.o
obj-$(CONFIG_WFX) += wfx.o
--
2.34.1