blob: 948b764193c28685de12c9fbbde1caf01fe11907 [file] [log] [blame]
wdenkc6097192002-11-03 00:24:07 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2000-2006
wdenkc6097192002-11-03 00:24:07 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenkc6097192002-11-03 00:24:07 +00006#
7
Masahiro Yamada0dc9b452013-10-17 17:34:50 +09008extra-y = start.o
wdenkc6097192002-11-03 00:24:07 +00009
Masahiro Yamada0dc9b452013-10-17 17:34:50 +090010obj-y += cpu.o
Masahiro Yamada40e73b12014-11-13 12:28:40 +090011
Masahiro Yamadaabde1272014-11-13 12:28:42 +090012obj-$(CONFIG_EP93XX) += ep93xx/
13obj-$(CONFIG_IMX) += imx/
David Müller (ELSOFT AG)718cb612016-02-09 16:48:30 +010014
15# some files can only build in ARM mode
16
Tom Rini1c640a62017-03-18 09:01:44 -040017ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
David Müller (ELSOFT AG)718cb612016-02-09 16:48:30 +010018CFLAGS_cpu.o := -marm
19endif