1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2000-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6extra-y	= start.o
7
8obj-y	+= cpu.o
9
10obj-$(CONFIG_EP93XX) += ep93xx/
11obj-$(CONFIG_IMX) += imx/
12
13# some files can only build in ARM mode
14
15ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
16CFLAGS_cpu.o := -marm
17endif
18