xref: /openbmc/u-boot/arch/arm/cpu/armv7/Makefile (revision bdde6595)
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),)
16ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
17obj-y	+= lowlevel_init.o
18endif
19endif
20
21ifneq ($(CONFIG_ARMV7_NONSEC)$(CONFIG_ARMV7_VIRT),)
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 armada-xp,$(SOC)),y) += armada-xp/
42obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
43obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
44obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
45obj-$(CONFIG_ARCH_EXYNOS) += exynos/
46obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
47obj-$(if $(filter mx5,$(SOC)),y) += mx5/
48obj-$(CONFIG_MX6) += mx6/
49obj-$(CONFIG_OMAP34XX) += omap3/
50obj-$(CONFIG_OMAP44XX) += omap4/
51obj-$(CONFIG_OMAP54XX) += omap5/
52obj-$(CONFIG_RMOBILE) += rmobile/
53obj-$(CONFIG_ARCH_S5PC1XX) += s5pc1xx/
54obj-$(CONFIG_SOCFPGA) += socfpga/
55obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
56obj-$(CONFIG_ARCH_SUNXI) += sunxi/
57obj-$(CONFIG_U8500) += u8500/
58obj-$(CONFIG_VF610) += vf610/
59obj-$(CONFIG_ZYNQ) += zynq/
60