Makefile 2.0 KB
Newer Older
1
# arch/arm/mach-exynos/Makefile
2 3 4 5 6 7 8 9 10 11 12
#
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
#		http://www.samsung.com/
#
# Licensed under GPLv2

obj-y				:=
obj-m				:=
obj-n				:=
obj-				:=

13
# Core
14

15
obj-$(CONFIG_ARCH_EXYNOS)	+= common.o
16

17
obj-$(CONFIG_PM)		+= pm.o
18
obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o
J
Jaecheol Lee 已提交
19
obj-$(CONFIG_CPU_IDLE)		+= cpuidle.o
20

21
obj-$(CONFIG_ARCH_EXYNOS)	+= pmu.o
22

23
obj-$(CONFIG_SMP)		+= platsmp.o headsmp.o
24

25 26
obj-$(CONFIG_HOTPLUG_CPU)	+= hotplug.o

27 28 29 30 31
obj-$(CONFIG_ARCH_EXYNOS)	+= exynos-smc.o

plus_sec := $(call as-instr,.arch_extension sec,+sec)
AFLAGS_exynos-smc.o		:=-Wa,-march=armv7-a$(plus_sec)

32 33
# machine support

34
obj-$(CONFIG_MACH_SMDKC210)		+= mach-smdkv310.o
35
obj-$(CONFIG_MACH_SMDKV310)		+= mach-smdkv310.o
36
obj-$(CONFIG_MACH_ARMLEX4210)		+= mach-armlex4210.o
37
obj-$(CONFIG_MACH_UNIVERSAL_C210)	+= mach-universal_c210.o
38
obj-$(CONFIG_MACH_NURI)			+= mach-nuri.o
39
obj-$(CONFIG_MACH_ORIGEN)		+= mach-origen.o
40

41 42
obj-$(CONFIG_MACH_SMDK4212)		+= mach-smdk4x12.o
obj-$(CONFIG_MACH_SMDK4412)		+= mach-smdk4x12.o
43

44
obj-$(CONFIG_MACH_EXYNOS4_DT)		+= mach-exynos4-dt.o
45
obj-$(CONFIG_MACH_EXYNOS5_DT)		+= mach-exynos5-dt.o
46

47 48
# device support

49
obj-y					+= dev-uart.o
50
obj-$(CONFIG_ARCH_EXYNOS4)		+= dev-audio.o
51
obj-$(CONFIG_EXYNOS4_DEV_AHCI)		+= dev-ahci.o
52
obj-$(CONFIG_EXYNOS_DEV_DMA)		+= dma.o
J
Jingoo Han 已提交
53
obj-$(CONFIG_EXYNOS4_DEV_USB_OHCI)	+= dev-ohci.o
54

55
obj-$(CONFIG_ARCH_EXYNOS)		+= setup-i2c0.o
56
obj-$(CONFIG_EXYNOS4_SETUP_FIMC)	+= setup-fimc.o
57
obj-$(CONFIG_EXYNOS4_SETUP_FIMD0)	+= setup-fimd0.o
58 59 60 61 62 63 64
obj-$(CONFIG_EXYNOS4_SETUP_I2C1)	+= setup-i2c1.o
obj-$(CONFIG_EXYNOS4_SETUP_I2C2)	+= setup-i2c2.o
obj-$(CONFIG_EXYNOS4_SETUP_I2C3)	+= setup-i2c3.o
obj-$(CONFIG_EXYNOS4_SETUP_I2C4)	+= setup-i2c4.o
obj-$(CONFIG_EXYNOS4_SETUP_I2C5)	+= setup-i2c5.o
obj-$(CONFIG_EXYNOS4_SETUP_I2C6)	+= setup-i2c6.o
obj-$(CONFIG_EXYNOS4_SETUP_I2C7)	+= setup-i2c7.o
65
obj-$(CONFIG_EXYNOS4_SETUP_KEYPAD)	+= setup-keypad.o
66
obj-$(CONFIG_EXYNOS4_SETUP_SDHCI_GPIO)	+= setup-sdhci-gpio.o
67
obj-$(CONFIG_EXYNOS4_SETUP_USB_PHY)	+= setup-usb-phy.o
68
obj-$(CONFIG_EXYNOS_SETUP_SPI)		+= setup-spi.o