diff options
author | Stefan Agner <stefan@agner.ch> | 2019-01-03 15:36:31 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-01-13 10:56:37 +0800 |
commit | 23b2441b90026ff56b3a4dd9af33a39730cffa21 (patch) | |
tree | 0f8bbabea03896b5473bdb0cae3ebb0e1a5f4460 /arch/arm/mach-imx/Makefile | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) |
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/Makefile | 2 |
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 |