blob: 1832b9d148304e657fffbf3041d82937a150fbff [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
11obj-$(CONFIG_USE_IRQ) += interrupts.o
Masahiro Yamada40e73b12014-11-13 12:28:40 +090012
Masahiro Yamadaabde1272014-11-13 12:28:42 +090013obj-$(CONFIG_EP93XX) += ep93xx/
14obj-$(CONFIG_IMX) += imx/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090015obj-$(CONFIG_S3C24X0) += s3c24x0/
David Müller (ELSOFT AG)718cb612016-02-09 16:48:30 +010016
17# some files can only build in ARM mode
18
19ifdef CONFIG_SYS_THUMB_BUILD
20CFLAGS_cpu.o := -marm
21endif