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