777897551e428bc258c599ee1415841e35dff564
[linux-2.6.git] / arch / arm / mach-exynos4 / Makefile
1 # arch/arm/mach-exynos4/Makefile
2 #
3 # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4 #               http://www.samsung.com/
5 #
6 # Licensed under GPLv2
7
8 obj-y                           :=
9 obj-m                           :=
10 obj-n                           :=
11 obj-                            :=
12
13 # Core support for EXYNOS4 system
14
15 obj-$(CONFIG_CPU_EXYNOS4210)    += cpu.o init.o clock.o irq-combiner.o
16 obj-$(CONFIG_CPU_EXYNOS4210)    += setup-i2c0.o gpiolib.o irq-eint.o dma.o
17 obj-$(CONFIG_PM)                += pm.o sleep.o
18 obj-$(CONFIG_CPU_FREQ)          += cpufreq.o
19
20 obj-$(CONFIG_SMP)               += platsmp.o headsmp.o
21
22 ifeq ($(CONFIG_EXYNOS4_MCT),y)
23 obj-y                           += mct.o
24 else
25 obj-y                           += time.o
26 obj-$(CONFIG_LOCAL_TIMERS)      += localtimer.o
27 endif
28
29 obj-$(CONFIG_HOTPLUG_CPU)       += hotplug.o
30
31 # machine support
32
33 obj-$(CONFIG_MACH_SMDKC210)             += mach-smdkc210.o
34 obj-$(CONFIG_MACH_SMDKV310)             += mach-smdkv310.o
35 obj-$(CONFIG_MACH_ARMLEX4210)           += mach-armlex4210.o
36 obj-$(CONFIG_MACH_UNIVERSAL_C210)       += mach-universal_c210.o
37 obj-$(CONFIG_MACH_NURI)                 += mach-nuri.o
38
39 # device support
40
41 obj-y                                   += dev-audio.o
42 obj-$(CONFIG_EXYNOS4_DEV_AHCI)          += dev-ahci.o
43 obj-$(CONFIG_EXYNOS4_DEV_PD)            += dev-pd.o
44 obj-$(CONFIG_EXYNOS4_DEV_SYSMMU)        += dev-sysmmu.o
45
46 obj-$(CONFIG_EXYNOS4_SETUP_FIMC)        += setup-fimc.o
47 obj-$(CONFIG_EXYNOS4_SETUP_I2C1)        += setup-i2c1.o
48 obj-$(CONFIG_EXYNOS4_SETUP_I2C2)        += setup-i2c2.o
49 obj-$(CONFIG_EXYNOS4_SETUP_I2C3)        += setup-i2c3.o
50 obj-$(CONFIG_EXYNOS4_SETUP_I2C4)        += setup-i2c4.o
51 obj-$(CONFIG_EXYNOS4_SETUP_I2C5)        += setup-i2c5.o
52 obj-$(CONFIG_EXYNOS4_SETUP_I2C6)        += setup-i2c6.o
53 obj-$(CONFIG_EXYNOS4_SETUP_I2C7)        += setup-i2c7.o
54 obj-$(CONFIG_EXYNOS4_SETUP_KEYPAD)      += setup-keypad.o
55 obj-$(CONFIG_EXYNOS4_SETUP_SDHCI)       += setup-sdhci.o
56 obj-$(CONFIG_EXYNOS4_SETUP_SDHCI_GPIO)  += setup-sdhci-gpio.o
57
58 obj-$(CONFIG_USB_SUPPORT)               += usb-phy.o