2017-12-26 03:54:31 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2011-02-14 14:05:27 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
|
|
|
|
# http://www.samsung.com/
|
|
|
|
|
2014-05-26 05:09:57 +08:00
|
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
|
|
|
|
|
2011-12-27 15:18:36 +08:00
|
|
|
# Core
|
2011-02-14 14:05:27 +08:00
|
|
|
|
2015-12-18 11:32:16 +08:00
|
|
|
obj-$(CONFIG_ARCH_EXYNOS) += exynos.o exynos-smc.o firmware.o
|
2011-12-27 15:18:36 +08:00
|
|
|
|
2014-10-28 07:10:21 +08:00
|
|
|
obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o
|
2014-09-25 17:02:45 +08:00
|
|
|
obj-$(CONFIG_PM_SLEEP) += suspend.o
|
2011-02-14 14:05:27 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
|
2011-03-11 09:39:57 +08:00
|
|
|
|
2012-12-11 12:58:43 +08:00
|
|
|
plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
|
|
|
AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec)
|
2014-09-24 00:24:39 +08:00
|
|
|
AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec)
|
2014-05-16 03:26:30 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o
|
2014-05-26 13:54:56 +08:00
|
|
|
CFLAGS_mcpm-exynos.o += -march=armv7-a
|