blob: 788f26d21141df6c67c0511e51d9a72d4b02c86e [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
Kukjin Kim10606aa2011-02-14 15:05:27 +090021
22obj-$(CONFIG_SMP) += platsmp.o headsmp.o
Changhwan Youn30d8bea2011-03-11 10:39:57 +090023
Kukjin Kim10606aa2011-02-14 15:05:27 +090024obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
Abhilash Kesavan40815032014-05-26 11:24:56 +053025CFLAGS_hotplug.o += -march=armv7-a
Kukjin Kim10606aa2011-02-14 15:05:27 +090026
Tomasz Figaa4a18d22012-12-11 13:58:43 +090027plus_sec := $(call as-instr,.arch_extension sec,+sec)
28AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec)
Abhilash Kesavanccf55112014-05-16 04:26:30 +090029
30obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o
Abhilash Kesavan40815032014-05-26 11:24:56 +053031CFLAGS_mcpm-exynos.o += -march=armv7-a