xref: /openbmc/u-boot/arch/arm/cpu/armv7/Makefile (revision c1b0fad9)
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
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-$(CONFIG_BCM2835) += bcm2835/
43obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
44obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
45obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
46obj-$(CONFIG_ARCH_EXYNOS) += exynos/
47obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
48obj-$(if $(filter mx5,$(SOC)),y) += mx5/
49obj-$(CONFIG_MX6) += mx6/
50obj-$(CONFIG_OMAP34XX) += omap3/
51obj-$(CONFIG_OMAP44XX) += omap4/
52obj-$(CONFIG_OMAP54XX) += omap5/
53obj-$(CONFIG_RMOBILE) += rmobile/
54obj-$(CONFIG_ARCH_S5PC1XX) += s5pc1xx/
55obj-$(CONFIG_SOCFPGA) += socfpga/
56obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
57obj-$(CONFIG_ARCH_SUNXI) += sunxi/
58obj-$(CONFIG_U8500) += u8500/
59obj-$(CONFIG_ARCH_UNIPHIER) += uniphier/
60obj-$(CONFIG_VF610) += vf610/
61obj-$(CONFIG_ZYNQ) += zynq/
62