Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 1 | # arch/arm/mach-exynos/Makefile |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. |
| 4 | # http://www.samsung.com/ |
| 5 | # |
| 6 | # Licensed under GPLv2 |
| 7 | |
Arnd Bergmann | 9dfa92e | 2014-05-26 06:09:57 +0900 | [diff] [blame] | 8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include |
| 9 | |
Kukjin Kim | cc511b8 | 2011-12-27 08:18:36 +0100 | [diff] [blame] | 10 | # Core |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 11 | |
Arnd Bergmann | 03c1b76 | 2014-10-28 08:10:21 +0900 | [diff] [blame] | 12 | obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o |
Kukjin Kim | cc511b8 | 2011-12-27 08:18:36 +0100 | [diff] [blame] | 13 | |
Arnd Bergmann | 03c1b76 | 2014-10-28 08:10:21 +0900 | [diff] [blame] | 14 | obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o |
Bartlomiej Zolnierkiewicz | 0d713cf | 2014-09-25 18:02:45 +0900 | [diff] [blame] | 15 | obj-$(CONFIG_PM_SLEEP) += suspend.o |
Thomas Abraham | 91cfbd4 | 2012-01-27 15:25:00 +0900 | [diff] [blame] | 16 | obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 17 | |
| 18 | obj-$(CONFIG_SMP) += platsmp.o headsmp.o |
Changhwan Youn | 30d8bea | 2011-03-11 10:39:57 +0900 | [diff] [blame] | 19 | |
Tomasz Figa | a4a18d2 | 2012-12-11 13:58:43 +0900 | [diff] [blame] | 20 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
| 21 | AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec) |
Tomasz Figa | 2b9d9c3 | 2014-09-24 01:24:39 +0900 | [diff] [blame] | 22 | AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec) |
Abhilash Kesavan | ccf5511 | 2014-05-16 04:26:30 +0900 | [diff] [blame] | 23 | |
| 24 | obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o |
Abhilash Kesavan | 4081503 | 2014-05-26 11:24:56 +0530 | [diff] [blame] | 25 | CFLAGS_mcpm-exynos.o += -march=armv7-a |