2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-11-03 00:24:07 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2000-2006
|
2002-11-03 00:24:07 +00:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
|
2013-10-17 08:34:50 +00:00
|
|
|
extra-y = start.o
|
2002-11-03 00:24:07 +00:00
|
|
|
|
2013-10-17 08:34:50 +00:00
|
|
|
obj-y += cpu.o
|
2014-11-13 03:28:40 +00:00
|
|
|
|
2014-11-13 03:28:42 +00:00
|
|
|
obj-$(CONFIG_IMX) += imx/
|
2016-02-09 15:48:30 +00:00
|
|
|
|
|
|
|
# some files can only build in ARM mode
|
|
|
|
|
2017-03-18 13:01:44 +00:00
|
|
|
ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
|
2016-02-09 15:48:30 +00:00
|
|
|
CFLAGS_cpu.o := -marm
|
|
|
|
endif
|