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