aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos4/Makefile')
-rw-r--r--arch/arm/mach-exynos4/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos4/Makefile b/arch/arm/mach-exynos4/Makefile
index 45422cb3e5b1..56e367b48fbb 100644
--- a/arch/arm/mach-exynos4/Makefile
+++ b/arch/arm/mach-exynos4/Makefile
@@ -13,11 +13,18 @@ obj- :=
# Core support for EXYNOS4 system
obj-$(CONFIG_CPU_EXYNOS4210) += cpu.o init.o clock.o irq-combiner.o
-obj-$(CONFIG_CPU_EXYNOS4210) += setup-i2c0.o time.o gpiolib.o irq-eint.o dma.o
+obj-$(CONFIG_CPU_EXYNOS4210) += setup-i2c0.o gpiolib.o irq-eint.o dma.o
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
+
+ifeq ($(CONFIG_EXYNOS4_MCT),y)
+obj-y += mct.o
+else
+obj-y += time.o
obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o
+endif
+
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
# machine support