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