blob: d634de588d96a8c14a103b789034fb2cb2096884 [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 Kimcc511b82011-12-27 08:18:36 +010010# Core
Kukjin Kim10606aa2011-02-14 15:05:27 +090011
Sachin Kamatfd577062014-05-13 07:11:50 +090012obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o
Kukjin Kimcc511b82011-12-27 08:18:36 +010013
Tomasz Figad710aa32014-03-18 07:28:27 +090014obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o
Thomas Abraham91cfbd42012-01-27 15:25:00 +090015obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o
Kukjin Kim10606aa2011-02-14 15:05:27 +090016
17obj-$(CONFIG_SMP) += platsmp.o headsmp.o
Changhwan Youn30d8bea2011-03-11 10:39:57 +090018
Tomasz Figaa4a18d22012-12-11 13:58:43 +090019plus_sec := $(call as-instr,.arch_extension sec,+sec)
20AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec)
Abhilash Kesavanccf55112014-05-16 04:26:30 +090021
22obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o
Abhilash Kesavan40815032014-05-26 11:24:56 +053023CFLAGS_mcpm-exynos.o += -march=armv7-a