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 20obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o 21CFLAGS_hotplug.o += -march=armv7-a 22 23plus_sec := $(call as-instr,.arch_extension sec,+sec) 24AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec) 25AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec) 26 27obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o 28CFLAGS_mcpm-exynos.o += -march=armv7-a 29