-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kconfig issues with client modules #3768
Comments
This was also reported by Randy Dunlap in |
@ujfalusi this is probably for you? |
@plbossart, I have taken a look and have a working solution, let me see if I can find more elegant way. Basically adding |
The other option is to convert the developer options to menu: diff --git a/sound/soc/sof/Kconfig b/sound/soc/sof/Kconfig
index e90f173d067c..fe01d6937098 100644
--- a/sound/soc/sof/Kconfig
+++ b/sound/soc/sof/Kconfig
@@ -69,18 +69,8 @@ config SND_SOC_SOF_CLIENT
This option is not user-selectable but automagically handled by
'select' statements at a higher level.
-config SND_SOC_SOF_DEVELOPER_SUPPORT
- bool "SOF developer options support"
+menu "SOF developer options support"
depends on EXPERT && SND_SOC_SOF
- help
- This option unlocks SOF developer options for debug/performance/
- code hardening.
- Distributions should not select this option, only SOF development
- teams should select it.
- Say Y if you are involved in SOF development and need this option.
- If not, select N.
-
-if SND_SOC_SOF_DEVELOPER_SUPPORT
config SND_SOC_SOF_FORCE_PROBE_WORKQUEUE
bool "SOF force probe workqueue"
@@ -231,7 +223,7 @@ config SND_SOC_SOF_DEBUG_RETAIN_DSP_CONTEXT
endif ## SND_SOC_SOF_DEBUG
-endif ## SND_SOC_SOF_DEVELOPER_SUPPORT
+endmenu ## "SOF developer options support"
config SND_SOC_SOF
tristate But this will drop the |
Issue reported by kernel test robot lkp@intel.com
I was able to reproduce this problem on the latest topic/sof-dev code
COMPILER_INSTALL_PATH=/data/pbossart/0day COMPILER=gcc-12.1.0 ../make.cross W=1 ARCH=arm64 olddefconfig
COMPILER_INSTALL_PATH=/data/pbossart/0day COMPILER=gcc-12.1.0 ../make.cross W=1 ARCH=arm64
the problem is this:
we compile sof-client.c in the same way as the SOF core, but the clients can be built-in. That cannot possibly work.
The text was updated successfully, but these errors were encountered: