From: Jérôme Pouiller Date: Thu, 13 Jan 2022 08:54:58 +0000 (+0100) Subject: staging: wfx: explain uncommon Makefile statement X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cc6205be682acf532e0854ba7026fa1a15296205;p=linux.git staging: wfx: explain uncommon Makefile statement I have got questions about this line from several reviewers. A comment is definitively welcome. Signed-off-by: Jérôme Pouiller Link: https://lore.kernel.org/r/20220113085524.1110708-6-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wfx/Makefile b/drivers/staging/wfx/Makefile index 1e99e6ffe044f..ae94c6552d778 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