blob: bcefb5473ee42540b409ba6824d38730c83c2620 [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
Arnd Bergmann03c1b762014-10-28 08:10:21 +090012obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o
Kukjin Kimcc511b82011-12-27 08:18:36 +010013
Arnd Bergmann03c1b762014-10-28 08:10:21 +090014obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o
Bartlomiej Zolnierkiewicz0d713cf2014-09-25 18:02:45 +090015obj-$(CONFIG_PM_SLEEP) += suspend.o
Thomas Abraham91cfbd42012-01-27 15:25:00 +090016obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o
Kukjin Kim10606aa2011-02-14 15:05:27 +090017
18obj-$(CONFIG_SMP) += platsmp.o headsmp.o
Changhwan Youn30d8bea2011-03-11 10:39:57 +090019
Tomasz Figaa4a18d22012-12-11 13:58:43 +090020plus_sec := $(call as-instr,.arch_extension sec,+sec)
21AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec)
Tomasz Figa2b9d9c32014-09-24 01:24:39 +090022AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec)
Abhilash Kesavanccf55112014-05-16 04:26:30 +090023
24obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o
Abhilash Kesavan40815032014-05-26 11:24:56 +053025CFLAGS_mcpm-exynos.o += -march=armv7-a