mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
0f3dd4e09a
Kconfig generates include/generated/autoconf.h to make CONFIG options
available to the pre-processor. Symbols with the value 'm' are suffixed
with '_MODULE'
Here is a conflict; CONFIG_FOO=m results in '#define CONFIG_FOO_MODULE 1',
but CONFIG_FOO_MODULE=y also results in the same define.
Also, CONFIG options that end with '_MODULE' confuse the Kconfig/fixdep
interaction; fixdep always assumes CONFIG_FOO_MODULE comes from
CONFIG_FOO=m, so the dependency is not properly tracked for symbols
that end with '_MODULE'.
For these reasons, CONFIG options that end with '_MODULE' should be
avoided in general. (I am planning on adding a check in Kconfig.)
This is the only case in the current kernel.
The new option name was suggested by Péter Ujfalusi. [1]
[1] https://lore.kernel.org/all/d9e777dc-d274-92ee-4d77-711bfd553611@gmail.com/
Fixes:
|
||
---|---|---|
.. | ||
ams-delta.c | ||
davinci-evm.c | ||
davinci-i2s.c | ||
davinci-i2s.h | ||
davinci-mcasp.c | ||
davinci-mcasp.h | ||
davinci-vcif.c | ||
edma-pcm.c | ||
edma-pcm.h | ||
j721e-evm.c | ||
Kconfig | ||
Makefile | ||
n810.c | ||
omap3pandora.c | ||
omap-abe-twl6040.c | ||
omap-dmic.c | ||
omap-dmic.h | ||
omap-hdmi.c | ||
omap-mcbsp-priv.h | ||
omap-mcbsp-st.c | ||
omap-mcbsp.c | ||
omap-mcbsp.h | ||
omap-mcpdm.c | ||
omap-mcpdm.h | ||
omap-twl4030.c | ||
osk5912.c | ||
rx51.c | ||
sdma-pcm.c | ||
sdma-pcm.h | ||
udma-pcm.c | ||
udma-pcm.h |