rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # arch/arm/plat-samsung/Makefile |
| 2 | # |
| 3 | # Copyright 2009 Simtec Electronics |
| 4 | # |
| 5 | # Licensed under GPLv2 |
| 6 | |
| 7 | ccflags-$(CONFIG_ARCH_S3C64XX) := -I$(srctree)/arch/arm/mach-s3c64xx/include |
| 8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include |
| 9 | |
| 10 | # Objects we always build independent of SoC choice |
| 11 | |
| 12 | obj-y += init.o cpu.o |
| 13 | |
| 14 | # ADC |
| 15 | |
| 16 | obj-$(CONFIG_S3C_ADC) += adc.o |
| 17 | |
| 18 | # devices |
| 19 | |
| 20 | obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o |
| 21 | |
| 22 | obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o |
| 23 | obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o |
| 24 | |
| 25 | obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o |
| 26 | |
| 27 | # PM support |
| 28 | |
| 29 | obj-$(CONFIG_PM_SLEEP) += pm-common.o |
| 30 | obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm-common.o |
| 31 | obj-$(CONFIG_SAMSUNG_PM) += pm.o |
| 32 | obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o |
| 33 | obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o |
| 34 | obj-$(CONFIG_SAMSUNG_PM_DEBUG) += pm-debug.o |
| 35 | |
| 36 | obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o |
| 37 | obj-$(CONFIG_SAMSUNG_WDT_RESET) += watchdog-reset.o |