blob: 8faf34b87ec55e954355d820eda5bd3eefd2301e [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/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090014obj-$(CONFIG_S3C24X0) += s3c24x0/
David Müller (ELSOFT AG)718cb612016-02-09 16:48:30 +010015
16# some files can only build in ARM mode
17
Tom Rini1c640a62017-03-18 09:01:44 -040018ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
David Müller (ELSOFT AG)718cb612016-02-09 16:48:30 +010019CFLAGS_cpu.o := -marm
20endif