1# arch/arm/mach-exynos/Makefile 2# 3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 4# http://www.samsung.com/ 5# 6# Licensed under GPLv2 7 8ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include 9 10# Core 11 12obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o 13 14obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o 15obj-$(CONFIG_PM_SLEEP) += suspend.o 16obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o 17 18obj-$(CONFIG_SMP) += platsmp.o headsmp.o 19 20plus_sec := $(call as-instr,.arch_extension sec,+sec) 21AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec) 22AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec) 23 24obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o 25CFLAGS_mcpm-exynos.o += -march=armv7-a 26