Skip to content

Commit ea8b70e

Browse files
committed
waves: don't build a module if CONFIG_LIBRARY_DEFAULT_MODULAR
If CONFIG_LIBRARY_DEFAULT_MODULAR=y only real functional audio modules should be built. Since "waves" is only available as a stub, it shouldn't be affected by it. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 2615d1d commit ea8b70e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/audio/module_adapter/Kconfig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ endif # Cadence
175175

176176
config WAVES_CODEC
177177
tristate "Waves codec"
178-
select WAVES_CODEC_STUB if COMP_STUBS
179-
default m if LIBRARY_DEFAULT_MODULAR
180178
default n
181179
help
182180
Select to include Waves codec. Waves codec implements MaxxEffect API.
@@ -186,7 +184,8 @@ endif # Cadence
186184

187185
config WAVES_CODEC_STUB
188186
bool "Waves codec stub"
189-
depends on WAVES_CODEC
187+
depends on WAVES_CODEC != "n"
188+
default y if COMP_STUBS
190189
default n
191190
help
192191
Select to build the waves codec with a stub file. This should only be used for

0 commit comments

Comments
 (0)