Makefile 3.4 KB
Newer Older
S
Shawn Guo 已提交
1 2
obj-y := time.o cpu.o system.o irq-common.o

3 4
obj-$(CONFIG_SOC_IMX1) += mm-imx1.o
obj-$(CONFIG_SOC_IMX21) += mm-imx21.o
5

6
obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o
7

8
obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o
9
obj-$(CONFIG_SOC_IMX27) += mm-imx27.o ehci-imx27.o
10

11 12
obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o iomux-imx31.o ehci-imx31.o pm-imx3.o
obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o ehci-imx35.o pm-imx3.o
13

14
imx5-pm-$(CONFIG_PM) += pm-imx5.o
15
obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o $(imx5-pm-y)
16

17 18 19
obj-$(CONFIG_IMX_HAVE_IOMUX_V1) += iomux-v1.o
obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o

S
Shawn Guo 已提交
20 21 22 23 24
obj-$(CONFIG_MXC_TZIC) += tzic.o
obj-$(CONFIG_MXC_AVIC) += avic.o

obj-$(CONFIG_MXC_USE_EPIT) += epit.o
obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o
25 26

ifeq ($(CONFIG_CPU_IDLE),y)
27
obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o
28
obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o
29
obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o
30
obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o
31
endif
S
Shawn Guo 已提交
32 33 34 35 36 37

ifdef CONFIG_SND_IMX_SOC
obj-y += ssi-fiq.o
obj-y += ssi-fiq-ksym.o
endif

38
# i.MX1 based machines
39
obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o
40
obj-$(CONFIG_MACH_APF9328) += mach-apf9328.o
41
obj-$(CONFIG_MACH_IMX1_DT) += imx1-dt.o
42

43
# i.MX21 based machines
44
obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
45

46
# i.MX27 based machines
47 48
obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
49
obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o
50
obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
51
obj-$(CONFIG_MACH_IMX27_DT) += imx27-dt.o
52 53 54 55 56 57 58 59 60 61 62 63 64 65

# i.MX31 based machines
obj-$(CONFIG_MACH_MX31ADS) += mach-mx31ads.o
obj-$(CONFIG_MACH_MX31LILLY) += mach-mx31lilly.o mx31lilly-db.o
obj-$(CONFIG_MACH_MX31LITE) += mach-mx31lite.o mx31lite-db.o
obj-$(CONFIG_MACH_PCM037) += mach-pcm037.o
obj-$(CONFIG_MACH_PCM037_EET) += mach-pcm037_eet.o
obj-$(CONFIG_MACH_MX31_3DS) += mach-mx31_3ds.o
obj-$(CONFIG_MACH_MX31MOBOARD) += mach-mx31moboard.o mx31moboard-devboard.o \
		mx31moboard-marxbot.o mx31moboard-smartbot.o
obj-$(CONFIG_MACH_QONG) += mach-qong.o
obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o
obj-$(CONFIG_MACH_BUG) += mach-bug.o
66
obj-$(CONFIG_MACH_IMX31_DT) += imx31-dt.o
67 68 69 70

# i.MX35 based machines
obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o
obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o
E
Eric Bénard 已提交
71
obj-$(CONFIG_MACH_EUKREA_CPUIMX35SD) += mach-cpuimx35.o
72 73
obj-$(CONFIG_MACH_EUKREA_MBIMXSD35_BASEBOARD) += eukrea_mbimxsd35-baseboard.o
obj-$(CONFIG_MACH_VPR200) += mach-vpr200.o
74
obj-$(CONFIG_MACH_IMX35_DT) += imx35-dt.o
75

76
obj-$(CONFIG_HAVE_IMX_ANATOP) += anatop.o
77 78 79
obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
obj-$(CONFIG_HAVE_IMX_MMDC) += mmdc.o
obj-$(CONFIG_HAVE_IMX_SRC) += src.o
80
ifneq ($(CONFIG_SOC_IMX6)$(CONFIG_SOC_LS1021A),)
81 82
AFLAGS_headsmp.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SMP) += headsmp.o platsmp.o
83
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
84
endif
85 86 87
obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o
obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o
obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o
88
obj-$(CONFIG_SOC_IMX7D) += mach-imx7d.o
89

90
ifeq ($(CONFIG_SUSPEND),y)
91
AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
92
obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
93
obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
94
endif
95
obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
96

97
obj-$(CONFIG_SOC_IMX50) += mach-imx50.o
S
Shawn Guo 已提交
98
obj-$(CONFIG_SOC_IMX51) += mach-imx51.o
99
obj-$(CONFIG_SOC_IMX53) += mach-imx53.o
100

101
obj-$(CONFIG_SOC_VF610) += mach-vf610.o
102

103 104
obj-$(CONFIG_SOC_LS1021A) += mach-ls1021a.o

105
obj-y += devices/