xref: /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#
2# (C) Copyright 2000-2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8extra-y	:= start.o
9
10obj-y	+= cache_v7.o cache_v7_asm.o
11
12obj-y	+= cpu.o cp15.o
13obj-y	+= syslib.o
14
15ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
16obj-y	+= lowlevel_init.o
17endif
18
19obj-$(CONFIG_ARM_SMCCC)		+= smccc-call.o
20obj-$(CONFIG_ARMV7_NONSEC)	+= nonsec_virt.o virt-v7.o virt-dt.o
21obj-$(CONFIG_ARMV7_PSCI)	+= psci.o psci-common.o
22
23ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
24obj-$(CONFIG_ARM_CPU_SUSPEND)	+= suspend.o sleep.o
25endif
26
27obj-$(CONFIG_IPROC) += iproc-common/
28obj-$(CONFIG_KONA) += kona-common/
29obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
30
31ifneq (,$(filter s5pc1xx exynos,$(SOC)))
32obj-y += s5p-common/
33endif
34
35obj-$(if $(filter bcm235xx,$(SOC)),y) += bcm235xx/
36obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
37obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
38obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
39obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
40obj-$(CONFIG_RMOBILE) += rmobile/
41obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
42obj-$(CONFIG_ARCH_SUNXI) += sunxi/
43obj-$(CONFIG_VF610) += vf610/
44