summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorCedric Neveux <cedric.neveux@nxp.com>2018-12-13 13:14:25 +0100
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:35:53 +0800
commit0612f7a19c3d3f5ed877c51232490d9cdf7e867d (patch)
treea5e51891ad656457b3fa13a59bfd193436ac67e3 /arch/arm/mach-imx
parent57603e0eccea9dd1f0433f4aaf00d1c87ac81a7e (diff)
MLK-20582 Fix busfreq compilation CONFIG_OPTEE=n
Compilation error with busfreq optee when CONFIG_OPTEE=n Signed-off-by: Cedric Neveux <cedric.neveux@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 97af9d698908..b52bc47ccdd7 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -133,9 +133,9 @@ obj-$(CONFIG_SOC_VF610) += mach-vf610.o
obj-$(CONFIG_SOC_LS1021A) += mach-ls1021a.o
-ifneq ($(CONFIG_OPTEE)$(CONFIG_SOC_IMX6)$(CONFIG_SOC_IMX7),)
+ifneq ($(CONFIG_SOC_IMX6)$(CONFIG_SOC_IMX7),)
# Bus frequency by OPTEE OS
-obj-y += busfreq_optee.o
+obj-$(CONFIG_OPTEE) += busfreq_optee.o
endif
obj-y += devices/