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 10obj-y := 11obj-m := 12obj-n := 13obj- := 14 15# Core 16 17obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o 18 19obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o 20obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o 21 22obj-$(CONFIG_SMP) += platsmp.o headsmp.o 23 24obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o 25CFLAGS_hotplug.o += -march=armv7-a 26 27plus_sec := $(call as-instr,.arch_extension sec,+sec) 28AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec) 29 30obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o 31CFLAGS_mcpm-exynos.o += -march=armv7-a 32