Makefile 1.5 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_SDHCI) += setup-sdhci.o
40
obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp.o
41
obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o
42

43 44
# PM

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

49 50 51 52 53 54 55
# Machine support

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

# device support

obj-y				+= dev-uart.o
63
obj-y				+= dev-audio.o
64
obj-$(CONFIG_S3C64XX_DEV_SPI)	+= dev-spi.o
65
obj-$(CONFIG_S3C64XX_DEV_TS)	+= dev-ts.o
66
obj-$(CONFIG_S3C64XX_DEV_ONENAND1)	+= dev-onenand1.o