Makefile 744 字节
Newer Older
1
# arch/arm/mach-exynos/Makefile
2 3 4 5 6 7
#
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
#		http://www.samsung.com/
#
# Licensed under GPLv2

8 9
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include

10
# Core
11

12
obj-$(CONFIG_ARCH_EXYNOS)	+= exynos.o exynos-smc.o firmware.o
13

14
obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o
15
obj-$(CONFIG_PM_SLEEP)		+= suspend.o
16 17

obj-$(CONFIG_SMP)		+= platsmp.o headsmp.o
18

19 20
plus_sec := $(call as-instr,.arch_extension sec,+sec)
AFLAGS_exynos-smc.o		:=-Wa,-march=armv7-a$(plus_sec)
21
AFLAGS_sleep.o			:=-Wa,-march=armv7-a$(plus_sec)
22 23

obj-$(CONFIG_EXYNOS5420_MCPM)	+= mcpm-exynos.o
24
CFLAGS_mcpm-exynos.o		+= -march=armv7-a
25 26

obj-$(CONFIG_S5P_DEV_MFC)	+= s5p-dev-mfc.o