rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # arch/arm/mach-s3c64xx/Makefile |
| 2 | # |
| 3 | # Copyright 2008 Openmoko, Inc. |
| 4 | # Copyright 2008 Simtec Electronics |
| 5 | # |
| 6 | # Licensed under GPLv2 |
| 7 | |
| 8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include |
| 9 | asflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include |
| 10 | |
| 11 | # PM |
| 12 | |
| 13 | obj-$(CONFIG_PM) += pm.o |
| 14 | obj-$(CONFIG_PM_SLEEP) += sleep.o |
| 15 | obj-$(CONFIG_CPU_IDLE) += cpuidle.o |
| 16 | |
| 17 | ifdef CONFIG_SAMSUNG_ATAGS |
| 18 | |
| 19 | obj-$(CONFIG_PM_SLEEP) += irq-pm.o |
| 20 | |
| 21 | # Core |
| 22 | |
| 23 | obj-y += common.o |
| 24 | obj-$(CONFIG_CPU_S3C6400) += s3c6400.o |
| 25 | obj-$(CONFIG_CPU_S3C6410) += s3c6410.o |
| 26 | |
| 27 | # DMA support |
| 28 | |
| 29 | obj-$(CONFIG_S3C64XX_PL080) += pl080.o |
| 30 | |
| 31 | # Device support |
| 32 | |
| 33 | obj-y += dev-uart.o |
| 34 | obj-y += dev-audio.o |
| 35 | |
| 36 | # Device setup |
| 37 | |
| 38 | obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp.o |
| 39 | obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0.o |
| 40 | obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1.o |
| 41 | obj-$(CONFIG_S3C64XX_SETUP_IDE) += setup-ide.o |
| 42 | obj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad.o |
| 43 | obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o |
| 44 | obj-$(CONFIG_S3C64XX_SETUP_SPI) += setup-spi.o |
| 45 | obj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy.o |
| 46 | |
| 47 | obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o |
| 48 | |
| 49 | # Machine support |
| 50 | |
| 51 | obj-$(CONFIG_MACH_ANW6410) += mach-anw6410.o |
| 52 | obj-$(CONFIG_MACH_HMT) += mach-hmt.o |
| 53 | obj-$(CONFIG_MACH_MINI6410) += mach-mini6410.o |
| 54 | obj-$(CONFIG_MACH_NCP) += mach-ncp.o |
| 55 | obj-$(CONFIG_MACH_REAL6410) += mach-real6410.o |
| 56 | obj-$(CONFIG_MACH_SMARTQ) += mach-smartq.o |
| 57 | obj-$(CONFIG_MACH_SMARTQ5) += mach-smartq5.o |
| 58 | obj-$(CONFIG_MACH_SMARTQ7) += mach-smartq7.o |
| 59 | obj-$(CONFIG_MACH_SMDK6400) += mach-smdk6400.o |
| 60 | obj-$(CONFIG_MACH_SMDK6410) += mach-smdk6410.o |
| 61 | obj-$(CONFIG_MACH_WLF_CRAGG_6410) += mach-crag6410.o mach-crag6410-module.o |
| 62 | endif |
| 63 | |
| 64 | obj-$(CONFIG_MACH_S3C64XX_DT) += mach-s3c64xx-dt.o |