blob: c63f578f1a9582d1b76fc3b90377b70c186bc3fe [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenkc6097192002-11-03 00:24:07 +00002#
Marian Balakowiczf9328632006-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 Yamada833db742013-10-17 17:34:50 +09006extra-y = start.o
wdenkc6097192002-11-03 00:24:07 +00007
Masahiro Yamada833db742013-10-17 17:34:50 +09008obj-y += cpu.o
Masahiro Yamada165ecd22014-11-13 12:28:40 +09009
Masahiro Yamada56f31e82014-11-13 12:28:42 +090010obj-$(CONFIG_EP93XX) += ep93xx/
11obj-$(CONFIG_IMX) += imx/
David Müller (ELSOFT AG)26275da2016-02-09 16:48:30 +010012
13# some files can only build in ARM mode
14
Tom Rini3a649402017-03-18 09:01:44 -040015ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
David Müller (ELSOFT AG)26275da2016-02-09 16:48:30 +010016CFLAGS_cpu.o := -marm
17endif