summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-imx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 97af9d698908..9ded0c05e399 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -133,9 +133,11 @@ 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),)
+ifneq ($(CONFIG_OPTEE),)
# Bus frequency by OPTEE OS
obj-y += busfreq_optee.o
endif
+endif
obj-y += devices/