Makefile 1.1 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 25 26

# Architecture dependant builds

obj-$(CONFIG_CPU_S3C244X)	+= s3c244x.o
obj-$(CONFIG_CPU_S3C244X)	+= s3c244x-irq.o
27
obj-$(CONFIG_CPU_S3C244X)	+= s3c244x-clock.o
28 29
obj-$(CONFIG_PM_SIMTEC)		+= pm-simtec.o
obj-$(CONFIG_PM)		+= pm.o
30
obj-$(CONFIG_PM)		+= irq-pm.o
31
obj-$(CONFIG_PM)		+= sleep.o
B
Ben Dooks 已提交
32
obj-$(CONFIG_HAVE_PWM)		+= pwm.o
33
obj-$(CONFIG_S3C2410_CLOCK)	+= s3c2410-clock.o
34
obj-$(CONFIG_S3C2410_DMA)	+= dma.o
B
Ben Dooks 已提交
35
obj-$(CONFIG_S3C24XX_ADC)	+= adc.o
36

37 38 39
# device specific setup and/or initialisation
obj-$(CONFIG_ARCH_S3C2410)	+= setup-i2c.o

40 41 42 43 44 45 46
# 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

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