Skip to content

Commit 574b8ca

Browse files
ujfalusiplbossart
authored andcommitted
ASoC: SOF: Kconfig: Make the SOF_DEVELOPER_SUPPORT depend on SND_SOC_SOF
SND_SOC_SOF_DEVELOPER_SUPPORT contains options affecting how the built SOF driver stack will behave, enables debug options and other features. These options have no meaning if the SND_SOC_SOF is not even enabled. If we have SOF client options under developer_support and debug they can be selected to be built even without the core, but they do need symbols from the core (the sof-client API) which can result build failure. In Kconfig we can have SND_SOC_SOF_TOPLEVEL=y SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST=y for example, which will make the flood client to be built, but the SOF core is not as SND_SOC_SOF is not selected. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent c41eb30 commit 574b8ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/sof/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ config SND_SOC_SOF_CLIENT
7171

7272
config SND_SOC_SOF_DEVELOPER_SUPPORT
7373
bool "SOF developer options support"
74-
depends on EXPERT
74+
depends on EXPERT && SND_SOC_SOF
7575
help
7676
This option unlocks SOF developer options for debug/performance/
7777
code hardening.

0 commit comments

Comments
 (0)