blob: 948b764193c28685de12c9fbbde1caf01fe11907 [file] [log] [blame]
wdenkc6097192002-11-03 00:24:07 +00001#
Marian Balakowiczf9328632006-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 Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenkc6097192002-11-03 00:24:07 +00006#
7
Masahiro Yamada833db742013-10-17 17:34:50 +09008extra-y = start.o
wdenkc6097192002-11-03 00:24:07 +00009
Masahiro Yamada833db742013-10-17 17:34:50 +090010obj-y += cpu.o
Masahiro Yamada165ecd22014-11-13 12:28:40 +090011
Masahiro Yamada56f31e82014-11-13 12:28:42 +090012obj-$(CONFIG_EP93XX) += ep93xx/
13obj-$(CONFIG_IMX) += imx/
David Müller (ELSOFT AG)26275da2016-02-09 16:48:30 +010014
15# some files can only build in ARM mode
16
Tom Rini3a649402017-03-18 09:01:44 -040017ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
David Müller (ELSOFT AG)26275da2016-02-09 16:48:30 +010018CFLAGS_cpu.o := -marm
19endif