mirror of https://github.com/thesofproject/sof.git
audio: Kconfig: Add toplevel stub switch
Now that we have the ability to do a posix builds we can start working towards a "make allyesconfig" equivalent. One limitation though is that we cannot build what we don't have, in this case 3P blocks. This commit adds a toplevel config for 3P adapters to switch to a stub file so they can still have their builds validated. These will also be eventually enabled in the fuzzers. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
parent
55d8f41066
commit
d4afff0112
|
@ -114,6 +114,13 @@ config COMP_SRC
|
|||
help
|
||||
Select for SRC component
|
||||
|
||||
config COMP_STUBS
|
||||
bool "Build all selected third-party (3P) components with stubs"
|
||||
default n
|
||||
help
|
||||
Select to force all 3P blocks to link against stubs rather than their libraries. This
|
||||
should only be used in testing environments like fuzzers or CI.
|
||||
|
||||
if COMP_SRC
|
||||
|
||||
choice
|
||||
|
|
|
@ -15,6 +15,7 @@ config COMP_GOOGLE_HOTWORD_DETECT
|
|||
config COMP_GOOGLE_RTC_AUDIO_PROCESSING
|
||||
bool "Google Real Time Communication Audio processing"
|
||||
select COMP_BLOB
|
||||
select GOOGLE_RTC_AUDIO_PROCESSING_MOCK if COMP_STUBS
|
||||
default n
|
||||
help
|
||||
Select for Google real-time communication audio processing. It
|
||||
|
|
Loading…
Reference in New Issue