xref: /openbmc/u-boot/arch/arm/cpu/arm926ejs/Makefile (revision 6b44ae6b)
1#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8extra-y	= start.o
9obj-y	= cpu.o cache.o
10
11ifdef	CONFIG_SPL_BUILD
12ifdef	CONFIG_SPL_NO_CPU_SUPPORT_CODE
13extra-y	:=
14endif
15endif
16
17obj-$(CONFIG_ARMADA100) += armada100/
18obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
19obj-$(CONFIG_MX25) += mx25/
20obj-$(CONFIG_MX27) += mx27/
21obj-$(if $(filter mxs,$(SOC)),y) += mxs/
22obj-$(if $(filter spear,$(SOC)),y) += spear/
23
24# some files can only build in ARM or THUMB2, not THUMB1
25
26ifdef CONFIG_SYS_THUMB_BUILD
27ifndef CONFIG_HAS_THUMB2
28
29CFLAGS_cpu.o := -marm
30CFLAGS_cache.o := -marm
31
32endif
33endif
34