]> git.ipfire.org Git - u-boot.git/blame - arch/arm/cpu/arm926ejs/Makefile
arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD
[u-boot.git] / arch / arm / cpu / arm926ejs / Makefile
CommitLineData
8ed96046 1#
f9328639 2# (C) Copyright 2000-2006
8ed96046
WD
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
8ed96046
WD
6#
7
d8769c62
MY
8extra-y = start.o
9obj-y = cpu.o cache.o
8ed96046 10
99bd341b
MV
11ifdef CONFIG_SPL_BUILD
12ifdef CONFIG_SPL_NO_CPU_SUPPORT_CODE
d8769c62 13extra-y :=
99bd341b
MV
14endif
15endif
165ecd26 16
56f31e87 17obj-$(CONFIG_ARMADA100) += armada100/
56f31e87 18obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
56f31e87
MY
19obj-$(CONFIG_MX25) += mx25/
20obj-$(CONFIG_MX27) += mx27/
21obj-$(if $(filter mxs,$(SOC)),y) += mxs/
56f31e87 22obj-$(if $(filter spear,$(SOC)),y) += spear/
62e92077
AA
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