blob: 9f3258880949606c8b7f0d87b28f2ff4644e79a6 [file] [log] [blame]
Kukjin Kim83014572011-11-06 13:54:56 +09001# arch/arm/mach-exynos/Makefile
Kukjin Kim10606aa2011-02-14 15:05:27 +09002#
3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Licensed under GPLv2
7
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +09008ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
9
Kukjin Kim10606aa2011-02-14 15:05:27 +090010obj-y :=
11obj-m :=
12obj-n :=
13obj- :=
14
Kukjin Kimcc511b82011-12-27 08:18:36 +010015# Core
Kukjin Kim10606aa2011-02-14 15:05:27 +090016
Sachin Kamatfd577062014-05-13 07:11:50 +090017obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o
Kukjin Kimcc511b82011-12-27 08:18:36 +010018
Tomasz Figad710aa32014-03-18 07:28:27 +090019obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o
Thomas Abraham91cfbd42012-01-27 15:25:00 +090020obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o
Jaecheol Lee3d739982011-03-16 07:28:23 +090021obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Kukjin Kim10606aa2011-02-14 15:05:27 +090022
23obj-$(CONFIG_SMP) += platsmp.o headsmp.o
Changhwan Youn30d8bea2011-03-11 10:39:57 +090024
Kukjin Kim10606aa2011-02-14 15:05:27 +090025obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
Abhilash Kesavan40815032014-05-26 11:24:56 +053026CFLAGS_hotplug.o += -march=armv7-a
Kukjin Kim10606aa2011-02-14 15:05:27 +090027
Tomasz Figaa4a18d22012-12-11 13:58:43 +090028plus_sec := $(call as-instr,.arch_extension sec,+sec)
29AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec)
Abhilash Kesavanccf55112014-05-16 04:26:30 +090030
31obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o
Abhilash Kesavan40815032014-05-26 11:24:56 +053032CFLAGS_mcpm-exynos.o += -march=armv7-a