Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / arm / cpu / arm926ejs / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2000-2006
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6 extra-y = start.o
7 obj-y   = cpu.o cache.o
8
9 ifdef   CONFIG_SPL_BUILD
10 ifdef   CONFIG_SPL_NO_CPU_SUPPORT
11 extra-y :=
12 endif
13 endif
14
15 obj-$(CONFIG_ARMADA100) += armada100/
16 obj-$(CONFIG_MX25) += mx25/
17 obj-$(CONFIG_MX27) += mx27/
18 obj-$(if $(filter mxs,$(SOC)),y) += mxs/
19 obj-$(if $(filter spear,$(SOC)),y) += spear/
20
21 # some files can only build in ARM or THUMB2, not THUMB1
22
23 ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
24 ifndef CONFIG_HAS_THUMB2
25
26 CFLAGS_cpu.o := -marm
27 CFLAGS_cache.o := -marm
28
29 endif
30 endif