2011-11-06 00:54:56 -04:00
|
|
|
# arch/arm/mach-exynos/Makefile
|
2011-02-14 01:05:27 -05:00
|
|
|
#
|
|
|
|
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
|
|
|
|
# http://www.samsung.com/
|
|
|
|
#
|
|
|
|
# Licensed under GPLv2
|
|
|
|
|
2014-05-25 17:09:57 -04:00
|
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
|
|
|
|
|
2011-02-14 01:05:27 -05:00
|
|
|
obj-y :=
|
|
|
|
obj-m :=
|
|
|
|
obj-n :=
|
|
|
|
obj- :=
|
|
|
|
|
2011-12-27 02:18:36 -05:00
|
|
|
# Core
|
2011-02-14 01:05:27 -05:00
|
|
|
|
2014-05-12 18:11:50 -04:00
|
|
|
obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o
|
2011-12-27 02:18:36 -05:00
|
|
|
|
2014-03-17 18:28:27 -04:00
|
|
|
obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o
|
2012-01-27 01:25:00 -05:00
|
|
|
obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o
|
2011-02-14 01:05:27 -05:00
|
|
|
|
|
|
|
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
|
2011-03-10 20:39:57 -05:00
|
|
|
|
2011-02-14 01:05:27 -05:00
|
|
|
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
2014-05-26 01:54:56 -04:00
|
|
|
CFLAGS_hotplug.o += -march=armv7-a
|
2011-02-14 01:05:27 -05:00
|
|
|
|
2012-12-10 23:58:43 -05:00
|
|
|
plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
|
|
|
AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec)
|
2014-05-15 15:26:30 -04:00
|
|
|
|
|
|
|
obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o
|
2014-05-26 01:54:56 -04:00
|
|
|
CFLAGS_mcpm-exynos.o += -march=armv7-a
|