Makefile 1.6 KB
Newer Older
1
# arch/arm/mach-s3c64xx/Makefile
B
Ben Dooks 已提交
2 3 4 5 6 7 8 9
#
# Copyright 2008 Openmoko, Inc.
# Copyright 2008 Simtec Electronics
#
# Licensed under GPLv2

obj-y				:=
obj-m				:=
10
obj-n				:=
B
Ben Dooks 已提交
11 12 13
obj-				:=

# Core files
14
obj-y				+= cpu.o
15
obj-y				+= clock.o
B
Ben Dooks 已提交
16
obj-y				+= gpiolib.o
17

18
# Core support for S3C6400 system
19

20 21
obj-$(CONFIG_CPU_S3C6400)	+= s3c6400.o
obj-$(CONFIG_CPU_S3C6410)	+= s3c6410.o
22

23 24
obj-y				+= irq.o
obj-y				+= irq-eint.o
25

26 27 28
# CPU frequency scaling

obj-$(CONFIG_CPU_FREQ_S3C64XX)  += cpufreq.o
29

B
Ben Dooks 已提交
30 31 32 33
# DMA support

obj-$(CONFIG_S3C64XX_DMA)	+= dma.o

34 35 36
# Device setup

obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0.o
37
obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1.o
38
obj-$(CONFIG_S3C64XX_SETUP_IDE) += setup-ide.o
39
obj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad.o
40
obj-$(CONFIG_S3C64XX_SETUP_SDHCI) += setup-sdhci.o
41
obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp.o
42
obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o
43

44 45
# PM

46 47
obj-$(CONFIG_PM)		+= pm.o
obj-$(CONFIG_PM)		+= sleep.o
48 49
obj-$(CONFIG_PM)		+= irq-pm.o

50 51 52 53 54
# Machine support

obj-$(CONFIG_MACH_ANW6410)	+= mach-anw6410.o
obj-$(CONFIG_MACH_SMDK6400)	+= mach-smdk6400.o
obj-$(CONFIG_MACH_SMDK6410)	+= mach-smdk6410.o
55
obj-$(CONFIG_MACH_REAL6410)     += mach-real6410.o
56
obj-$(CONFIG_MACH_MINI6410)     += mach-mini6410.o
57 58
obj-$(CONFIG_MACH_NCP)		+= mach-ncp.o
obj-$(CONFIG_MACH_HMT)		+= mach-hmt.o
59 60 61
obj-$(CONFIG_MACH_SMARTQ)	+= mach-smartq.o
obj-$(CONFIG_MACH_SMARTQ5)	+= mach-smartq5.o
obj-$(CONFIG_MACH_SMARTQ7)	+= mach-smartq7.o
62 63 64 65

# device support

obj-y				+= dev-uart.o
66
obj-y				+= dev-audio.o
67
obj-$(CONFIG_S3C64XX_DEV_SPI)	+= dev-spi.o
68
obj-$(CONFIG_S3C64XX_DEV_TS)	+= dev-ts.o
69
obj-$(CONFIG_S3C64XX_DEV_ONENAND1)	+= dev-onenand1.o