Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 1 | # arch/arm/plat-s3c24xx/Makefile |
| 2 | # |
| 3 | # Copyright 2007 Simtec Electronics |
| 4 | # |
| 5 | # Licensed under GPLv2 |
| 6 | |
| 7 | obj-y := |
| 8 | obj-m := |
| 9 | obj-n := |
| 10 | obj- := |
| 11 | |
| 12 | |
| 13 | # Core files |
| 14 | |
| 15 | obj-y += cpu.o |
| 16 | obj-y += irq.o |
| 17 | obj-y += devs.o |
| 18 | obj-y += gpio.o |
Ben Dooks | f348a2a | 2008-07-03 11:24:25 +0100 | [diff] [blame] | 19 | obj-y += gpiolib.o |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 20 | obj-y += clock.o |
Ben Dooks | 93bc6b6 | 2008-10-21 14:06:33 +0100 | [diff] [blame] | 21 | obj-$(CONFIG_S3C24XX_DCLK) += clock-dclk.o |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 22 | |
| 23 | # Architecture dependant builds |
| 24 | |
| 25 | obj-$(CONFIG_CPU_S3C244X) += s3c244x.o |
| 26 | obj-$(CONFIG_CPU_S3C244X) += s3c244x-irq.o |
Ben Dooks | 3a38e4b | 2008-01-28 13:01:34 +0100 | [diff] [blame] | 27 | obj-$(CONFIG_CPU_S3C244X) += s3c244x-clock.o |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_PM_SIMTEC) += pm-simtec.o |
| 29 | obj-$(CONFIG_PM) += pm.o |
Ben Dooks | 65fa22b | 2008-12-12 00:24:10 +0000 | [diff] [blame] | 30 | obj-$(CONFIG_PM) += irq-pm.o |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 31 | obj-$(CONFIG_PM) += sleep.o |
Ben Dooks | 291e99a | 2009-05-04 09:30:51 +0100 | [diff] [blame] | 32 | obj-$(CONFIG_S3C24XX_PWM) += pwm.o |
Ben Dooks | 1b3ba68 | 2008-10-21 14:06:22 +0100 | [diff] [blame] | 33 | obj-$(CONFIG_S3C2410_CLOCK) += s3c2410-clock.o |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 34 | obj-$(CONFIG_S3C2410_DMA) += dma.o |
Ben Dooks | 28ab44c5b | 2008-12-18 14:20:04 +0000 | [diff] [blame] | 35 | obj-$(CONFIG_S3C24XX_ADC) += adc.o |
Ben Dooks | b2a6cf3 | 2008-10-21 14:06:20 +0100 | [diff] [blame] | 36 | |
Ben Dooks | 3e1b776 | 2008-10-31 16:14:40 +0000 | [diff] [blame] | 37 | # device specific setup and/or initialisation |
| 38 | obj-$(CONFIG_ARCH_S3C2410) += setup-i2c.o |
| 39 | |
Ben Dooks | b2a6cf3 | 2008-10-21 14:06:20 +0100 | [diff] [blame] | 40 | # SPI gpio central GPIO functions |
| 41 | |
| 42 | obj-$(CONFIG_S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13) += spi-bus0-gpe11_12_13.o |
| 43 | obj-$(CONFIG_S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7) += spi-bus1-gpg5_6_7.o |
| 44 | |
| 45 | # machine common support |
| 46 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 47 | obj-$(CONFIG_MACH_SMDK) += common-smdk.o |