1 # SPDX-License-Identifier: GPL-2.0+
3 # (C) Copyright 2000-2006
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
10 ifdef CONFIG_SPL_NO_CPU_SUPPORT_CODE
15 obj-$(CONFIG_ARMADA100) += armada100/
16 obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
17 obj-$(CONFIG_MX25) += mx25/
18 obj-$(CONFIG_MX27) += mx27/
19 obj-$(if $(filter mxs,$(SOC)),y) += mxs/
20 obj-$(if $(filter spear,$(SOC)),y) += spear/
22 # some files can only build in ARM or THUMB2, not THUMB1
24 ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
25 ifndef CONFIG_HAS_THUMB2
28 CFLAGS_cache.o := -marm