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 | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 10 | obj-y := |
| 11 | obj-m := |
| 12 | obj-n := |
| 13 | obj- := |
| 14 | |
Kukjin Kim | cc511b8 | 2011-12-27 08:18:36 +0100 | [diff] [blame] | 15 | # Core |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 16 | |
Sachin Kamat | fd57706 | 2014-05-13 07:11:50 +0900 | [diff] [blame] | 17 | 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] | 18 | |
Tomasz Figa | d710aa3 | 2014-03-18 07:28:27 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o |
Thomas Abraham | 91cfbd4 | 2012-01-27 15:25:00 +0900 | [diff] [blame] | 20 | obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 21 | |
| 22 | obj-$(CONFIG_SMP) += platsmp.o headsmp.o |
Changhwan Youn | 30d8bea | 2011-03-11 10:39:57 +0900 | [diff] [blame] | 23 | |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o |
Abhilash Kesavan | 4081503 | 2014-05-26 11:24:56 +0530 | [diff] [blame] | 25 | CFLAGS_hotplug.o += -march=armv7-a |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 26 | |
Tomasz Figa | a4a18d2 | 2012-12-11 13:58:43 +0900 | [diff] [blame] | 27 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
| 28 | AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec) |
Abhilash Kesavan | ccf5511 | 2014-05-16 04:26:30 +0900 | [diff] [blame] | 29 | |
| 30 | obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o |
Abhilash Kesavan | 4081503 | 2014-05-26 11:24:56 +0530 | [diff] [blame] | 31 | CFLAGS_mcpm-exynos.o += -march=armv7-a |