xref: /openbmc/u-boot/arch/arm/cpu/armv7/Makefile (revision 9ee16897)
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
11
12obj-y	+= cpu.o cp15.o
13obj-y	+= syslib.o
14
15ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_SUNXI)$(CONFIG_ARCH_SOCFPGA),)
16ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
17obj-y	+= lowlevel_init.o
18endif
19endif
20
21ifneq ($(CONFIG_ARMV7_NONSEC),)
22obj-y	+= nonsec_virt.o
23obj-y	+= virt-v7.o
24obj-y	+= virt-dt.o
25endif
26
27ifneq ($(CONFIG_ARMV7_PSCI),)
28obj-y	+= psci.o
29endif
30
31obj-$(CONFIG_IPROC) += iproc-common/
32obj-$(CONFIG_KONA) += kona-common/
33obj-$(CONFIG_OMAP_COMMON) += omap-common/
34obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
35
36ifneq (,$(filter s5pc1xx exynos,$(SOC)))
37obj-y += s5p-common/
38endif
39
40obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
41obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
42obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
43obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
44obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
45obj-$(if $(filter mx5,$(SOC)),y) += mx5/
46obj-$(CONFIG_MX6) += mx6/
47obj-$(CONFIG_OMAP34XX) += omap3/
48obj-$(CONFIG_OMAP44XX) += omap4/
49obj-$(CONFIG_OMAP54XX) += omap5/
50obj-$(CONFIG_RMOBILE) += rmobile/
51obj-$(CONFIG_ARCH_S5PC1XX) += s5pc1xx/
52obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
53obj-$(CONFIG_ARCH_SUNXI) += sunxi/
54obj-$(CONFIG_U8500) += u8500/
55obj-$(CONFIG_VF610) += vf610/
56