summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/Makefile
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2019-01-03 17:36:31 +0300
committerShawn Guo <shawnguo@kernel.org>2019-01-13 05:56:37 +0300
commit23b2441b90026ff56b3a4dd9af33a39730cffa21 (patch)
tree0f8bbabea03896b5473bdb0cae3ebb0e1a5f4460 /arch/arm/mach-imx/Makefile
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
downloadlinux-23b2441b90026ff56b3a4dd9af33a39730cffa21.tar.xz
ARM: imx: don't build ssi-fiq if not required
The symbols provided by ssi-fiq are used in sound/soc/fsl/imx-pcm-fiq.c only. Build ssi-fiq.o/ssi-fiq-ksym.o only if SND_SOC_IMX_PCM_FIQ is enabled. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/Makefile')
-rw-r--r--arch/arm/mach-imx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 8af2f7e91d13..b6c87d7d3a5d 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -31,7 +31,7 @@ obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o
obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o
endif
-ifdef CONFIG_SND_IMX_SOC
+ifdef CONFIG_SND_SOC_IMX_PCM_FIQ
obj-y += ssi-fiq.o
obj-y += ssi-fiq-ksym.o
endif