Makefile 1.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# arch/arm/plat-s3c24xx/Makefile
#
# Copyright 2007 Simtec Electronics
#
# Licensed under GPLv2

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


# Core files

obj-y				+= cpu.o
obj-y				+= irq.o
obj-y				+= devs.o
obj-y				+= gpio.o
B
Ben Dooks 已提交
19
obj-y				+= gpiolib.o
20
obj-y				+= clock.o
21
obj-$(CONFIG_S3C24XX_DCLK)	+= clock-dclk.o
22

23 24
obj-$(CONFIG_CPU_FREQ_S3C24XX)	+= cpu-freq.o

25 26 27 28
# Architecture dependant builds

obj-$(CONFIG_CPU_S3C244X)	+= s3c244x.o
obj-$(CONFIG_CPU_S3C244X)	+= s3c244x-irq.o
29
obj-$(CONFIG_CPU_S3C244X)	+= s3c244x-clock.o
30
obj-$(CONFIG_S3C2440_CPUFREQ)	+= s3c2440-cpufreq.o
31 32 33
obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o
obj-$(CONFIG_S3C2440_PLL_16934400) += s3c2440-pll-16934400.o

34 35
obj-$(CONFIG_PM_SIMTEC)		+= pm-simtec.o
obj-$(CONFIG_PM)		+= pm.o
36
obj-$(CONFIG_PM)		+= irq-pm.o
37
obj-$(CONFIG_PM)		+= sleep.o
38
obj-$(CONFIG_S3C24XX_PWM)	+= pwm.o
39
obj-$(CONFIG_S3C2410_CLOCK)	+= s3c2410-clock.o
40
obj-$(CONFIG_S3C2410_DMA)	+= dma.o
B
Ben Dooks 已提交
41
obj-$(CONFIG_S3C24XX_ADC)	+= adc.o
42
obj-$(CONFIG_S3C2410_IOTIMING)	+= s3c2410-iotiming.o
43
obj-$(CONFIG_S3C2412_IOTIMING)	+= s3c2412-iotiming.o
44
obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o
45

46 47 48
# device specific setup and/or initialisation
obj-$(CONFIG_ARCH_S3C2410)	+= setup-i2c.o

49 50 51 52 53 54 55
# SPI gpio central GPIO functions

obj-$(CONFIG_S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13) += spi-bus0-gpe11_12_13.o
obj-$(CONFIG_S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7)    += spi-bus1-gpg5_6_7.o

# machine common support

56
obj-$(CONFIG_MACH_SMDK)		+= common-smdk.o