Message ID | 20220214070752.21063-1-peter.ujfalusi@linux.intel.com |
---|---|
State | Accepted |
Commit | 4965e38fa064056021254af4656b1089a42dc764 |
Headers | show |
Series | ASoC: SOF: Makefile: Fix randconfig sof-client build when SND_SOC_SOF=y | expand |
diff --git a/sound/soc/sof/Makefile b/sound/soc/sof/Makefile index 4d31282c847d..a0459f06c68a 100644 --- a/sound/soc/sof/Makefile +++ b/sound/soc/sof/Makefile @@ -2,7 +2,9 @@ snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\ control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o -snd-sof-$(CONFIG_SND_SOC_SOF_CLIENT) += sof-client.o +ifneq ($(CONFIG_SND_SOC_SOF_CLIENT),) +snd-sof-objs += sof-client.o +endif snd-sof-$(CONFIG_SND_SOC_SOF_COMPRESS) += compress.o