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