blob: c63f578f1a9582d1b76fc3b90377b70c186bc3fe [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenkc6097192002-11-03 00:24:07 +00002#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003# (C) Copyright 2000-2006
wdenkc6097192002-11-03 00:24:07 +00004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
wdenkc6097192002-11-03 00:24:07 +00005
Masahiro Yamada0dc9b452013-10-17 17:34:50 +09006extra-y = start.o
wdenkc6097192002-11-03 00:24:07 +00007
Masahiro Yamada0dc9b452013-10-17 17:34:50 +09008obj-y += cpu.o
Masahiro Yamada40e73b12014-11-13 12:28:40 +09009
Masahiro Yamadaabde1272014-11-13 12:28:42 +090010obj-$(CONFIG_EP93XX) += ep93xx/
11obj-$(CONFIG_IMX) += imx/
David Müller (ELSOFT AG)718cb612016-02-09 16:48:30 +010012
13# some files can only build in ARM mode
14
Tom Rini1c640a62017-03-18 09:01:44 -040015ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
David Müller (ELSOFT AG)718cb612016-02-09 16:48:30 +010016CFLAGS_cpu.o := -marm
17endif