blob: b70822c67ab9ab6dec5deaf2a65a89fb4ab9f0fb [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_IMX) += imx/
David Müller (ELSOFT AG)718cb612016-02-09 16:48:30 +010011
12# some files can only build in ARM mode
13
Tom Rini1c640a62017-03-18 09:01:44 -040014ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
David Müller (ELSOFT AG)718cb612016-02-09 16:48:30 +010015CFLAGS_cpu.o := -marm
16endif