From 2e944dbb84d05e66a84d665ff914ce4ee7a3cded Mon Sep 17 00:00:00 2001 From: sakindia123 Date: Sun, 26 May 2013 10:10:42 +0100 Subject: makefile: mach-exynos: Separate 4x10 and 4x12 objects Change-Id: If3270ba8e454d224d18202ff5e751fc61792b4d7 --- arch/arm/mach-exynos/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'arch/arm/mach-exynos/Makefile') diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile index 804e3b2..65bf807 100644 --- a/arch/arm/mach-exynos/Makefile +++ b/arch/arm/mach-exynos/Makefile @@ -29,8 +29,14 @@ AFLAGS_sleep-exynos4.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1) obj-$(CONFIG_EXYNOS5_PM) += pm-exynos5.o sleep-exynos5.o obj-$(CONFIG_CPU_FREQ) += cpufreq.o -obj-$(CONFIG_EXYNOS4_CPUFREQ) += asv.o asv-4210.o asv-4x12.o -obj-$(CONFIG_EXYNOS4_CPUFREQ) += cpufreq-4210.o cpufreq-4x12.o +obj-$(CONFIG_EXYNOS4_CPUFREQ) += asv.o +ifeq ($(CONFIG_CPU_EXYNOS4210),y) +obj-$(CONFIG_EXYNOS4_CPUFREQ) += asv-4210.o +obj-$(CONFIG_EXYNOS4_CPUFREQ) += cpufreq-4210.o +else +obj-$(CONFIG_EXYNOS4_CPUFREQ) += asv-4x12.o +obj-$(CONFIG_EXYNOS4_CPUFREQ) += cpufreq-4x12.o +endif obj-$(CONFIG_EXYNOS5_CPUFREQ) += asv.o asv-5250.o obj-$(CONFIG_EXYNOS5_CPUFREQ) += cpufreq-5250.o obj-$(CONFIG_EXYNOS4_CPUIDLE) += cpuidle-exynos4.o idle-exynos4.o -- cgit v1.1