2017-12-25 20:54:35 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2009-11-10 01:14:58 +01:00
|
|
|
#
|
|
|
|
# Copyright 2009 Simtec Electronics
|
|
|
|
|
2014-07-07 14:25:15 +02:00
|
|
|
ccflags-$(CONFIG_ARCH_S3C64XX) := -I$(srctree)/arch/arm/mach-s3c64xx/include
|
|
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include
|
2014-05-25 23:09:57 +02:00
|
|
|
|
2009-12-23 19:43:48 +01:00
|
|
|
# Objects we always build independent of SoC choice
|
|
|
|
|
2011-08-20 05:18:07 +02:00
|
|
|
obj-y += init.o cpu.o
|
2012-04-17 20:20:49 +02:00
|
|
|
|
2010-01-14 00:30:31 +01:00
|
|
|
# ADC
|
|
|
|
|
|
|
|
obj-$(CONFIG_S3C_ADC) += adc.o
|
|
|
|
|
2010-01-05 18:45:09 +01:00
|
|
|
# devices
|
|
|
|
|
2013-06-15 02:01:49 +02:00
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
|
2010-06-10 05:57:15 +02:00
|
|
|
|
2013-06-15 02:01:49 +02:00
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
|
2011-10-03 02:47:58 +02:00
|
|
|
|
2015-02-27 21:54:18 +01:00
|
|
|
obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o
|
|
|
|
|
2010-01-18 02:47:45 +01:00
|
|
|
# PM support
|
2013-04-26 20:32:02 +02:00
|
|
|
|
2014-03-17 23:28:10 +01:00
|
|
|
obj-$(CONFIG_PM_SLEEP) += pm-common.o
|
2014-09-25 11:02:45 +02:00
|
|
|
obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm-common.o
|
2013-07-24 07:06:13 +02:00
|
|
|
obj-$(CONFIG_SAMSUNG_PM) += pm.o
|
2013-06-18 18:24:12 +02:00
|
|
|
obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o
|
2010-01-20 04:29:25 +01:00
|
|
|
obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
|
2014-03-17 23:28:09 +01:00
|
|
|
obj-$(CONFIG_SAMSUNG_PM_DEBUG) += pm-debug.o
|
2010-01-20 04:22:24 +01:00
|
|
|
|
2010-05-20 07:05:33 +02:00
|
|
|
obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
|
2013-06-17 16:45:33 +02:00
|
|
|
obj-$(CONFIG_SAMSUNG_WDT_RESET) += watchdog-reset.o
|