Makefile 3.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# arch/arm/mach-s3c24xx/Makefile
#
# Copyright (c) 2012 Samsung Electronics Co., Ltd.
#		http://www.samsung.com/
#
# Copyright 2007 Simtec Electronics
#
# Licensed under GPLv2

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

# core

17
obj-y				+= common.o
18

19
obj-$(CONFIG_CPU_S3C2410)	+= s3c2410.o
20
obj-$(CONFIG_S3C2410_CPUFREQ)	+= cpufreq-s3c2410.o
21
obj-$(CONFIG_S3C2410_DMA)	+= dma-s3c2410.o
22
obj-$(CONFIG_S3C2410_PLL)	+= pll-s3c2410.o
23 24
obj-$(CONFIG_S3C2410_PM)	+= pm-s3c2410.o sleep-s3c2410.o

25
obj-$(CONFIG_CPU_S3C2412)	+= s3c2412.o clock-s3c2412.o
26
obj-$(CONFIG_S3C2412_CPUFREQ)	+= cpufreq-s3c2412.o
27 28 29 30
obj-$(CONFIG_S3C2412_DMA)	+= dma-s3c2412.o
obj-$(CONFIG_S3C2412_PM)	+= pm-s3c2412.o
obj-$(CONFIG_S3C2412_PM_SLEEP)	+= sleep-s3c2412.o

31
obj-$(CONFIG_CPU_S3C2416)	+= s3c2416.o clock-s3c2416.o
32 33
obj-$(CONFIG_S3C2416_PM)	+= pm-s3c2416.o

34
obj-$(CONFIG_CPU_S3C2440)	+= s3c2440.o clock-s3c2440.o
35
obj-$(CONFIG_CPU_S3C2442)	+= s3c2442.o
36
obj-$(CONFIG_CPU_S3C244X)	+= s3c244x.o clock-s3c244x.o
37
obj-$(CONFIG_S3C2440_CPUFREQ)	+= cpufreq-s3c2440.o
38
obj-$(CONFIG_S3C2440_DMA)	+= dma-s3c2440.o
39 40
obj-$(CONFIG_S3C2440_PLL_12000000) += pll-s3c2440-12000000.o
obj-$(CONFIG_S3C2440_PLL_16934400) += pll-s3c2440-16934400.o
41

42
obj-$(CONFIG_CPU_S3C2443)	+= s3c2443.o clock-s3c2443.o
43

44 45 46 47
# PM

obj-$(CONFIG_PM)		+= pm.o irq-pm.o sleep.o

48 49
# common code

50 51 52 53 54 55 56 57 58
obj-$(CONFIG_S3C24XX_DCLK)	+= clock-dclk.o
obj-$(CONFIG_S3C24XX_DMA)	+= dma.o

obj-$(CONFIG_S3C2410_CLOCK)	+= clock-s3c2410.o
obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += cpufreq-utils.o

obj-$(CONFIG_S3C2410_IOTIMING)	+= iotiming-s3c2410.o
obj-$(CONFIG_S3C2412_IOTIMING)	+= iotiming-s3c2412.o

59
obj-$(CONFIG_S3C2443_COMMON)	+= common-s3c2443.o
60
obj-$(CONFIG_S3C2443_DMA)	+= dma-s3c2443.o
61

62 63 64
obj-$(CONFIG_CPU_FREQ_S3C24XX)	+= cpufreq.o
obj-$(CONFIG_CPU_FREQ_S3C24XX_DEBUGFS) += cpufreq-debugfs.o

65 66 67 68 69 70
#
# machine support
# following is ordered alphabetically by option text.
#

obj-$(CONFIG_MACH_AML_M5900)		+= mach-amlm5900.o
71
obj-$(CONFIG_ARCH_BAST)			+= mach-bast.o
72 73 74 75 76 77 78 79 80
obj-$(CONFIG_BAST_PC104_IRQ)		+= bast-irq.o
obj-$(CONFIG_ARCH_H1940)		+= mach-h1940.o
obj-$(CONFIG_H1940BT)			+= h1940-bluetooth.o
obj-$(CONFIG_PM_H1940)			+= pm-h1940.o
obj-$(CONFIG_MACH_N30)			+= mach-n30.o
obj-$(CONFIG_MACH_OTOM)			+= mach-otom.o
obj-$(CONFIG_MACH_QT2410)		+= mach-qt2410.o
obj-$(CONFIG_ARCH_SMDK2410)		+= mach-smdk2410.o
obj-$(CONFIG_MACH_TCT_HAMMER)		+= mach-tct_hammer.o
81
obj-$(CONFIG_MACH_VR1000)		+= mach-vr1000.o
82

83 84 85 86
obj-$(CONFIG_MACH_JIVE)			+= mach-jive.o
obj-$(CONFIG_MACH_SMDK2413)		+= mach-smdk2413.o
obj-$(CONFIG_MACH_VSTMS)		+= mach-vstms.o

87 88
obj-$(CONFIG_MACH_SMDK2416)		+= mach-smdk2416.o

89 90 91 92 93 94 95 96 97 98 99
obj-$(CONFIG_MACH_ANUBIS)		+= mach-anubis.o
obj-$(CONFIG_MACH_AT2440EVB)		+= mach-at2440evb.o
obj-$(CONFIG_MACH_MINI2440)		+= mach-mini2440.o
obj-$(CONFIG_MACH_NEXCODER_2440)	+= mach-nexcoder.o
obj-$(CONFIG_MACH_OSIRIS)		+= mach-osiris.o
obj-$(CONFIG_MACH_RX3715)		+= mach-rx3715.o
obj-$(CONFIG_ARCH_S3C2440)		+= mach-smdk2440.o

obj-$(CONFIG_MACH_NEO1973_GTA02)	+= mach-gta02.o
obj-$(CONFIG_MACH_RX1950)		+= mach-rx1950.o

100 101
obj-$(CONFIG_MACH_SMDK2443)		+= mach-smdk2443.o

102 103
# common bits of machine support

104
obj-$(CONFIG_S3C24XX_SMDK)		+= common-smdk.o
105
obj-$(CONFIG_S3C24XX_SIMTEC_AUDIO)	+= simtec-audio.o
106
obj-$(CONFIG_S3C24XX_SIMTEC_NOR)	+= simtec-nor.o
107
obj-$(CONFIG_S3C24XX_SIMTEC_PM)		+= simtec-pm.o
108
obj-$(CONFIG_S3C24XX_SIMTEC_USB)	+= simtec-usb.o
109 110 111 112

# machine additions

obj-$(CONFIG_MACH_BAST_IDE)		+= bast-ide.o
113
obj-$(CONFIG_MACH_OSIRIS_DVS)		+= mach-osiris-dvs.o
114 115 116 117

# device setup

obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO)	+= setup-sdhci-gpio.o
118
obj-$(CONFIG_S3C2443_SETUP_SPI)		+= setup-spi.o
119 120
obj-$(CONFIG_ARCH_S3C24XX)		+= setup-i2c.o
obj-$(CONFIG_S3C24XX_SETUP_TS)		+= setup-ts.o