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