2005-01-09 23:16:25 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2000-2006
|
2005-01-09 23:16:25 +00:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2005-01-09 23:16:25 +00:00
|
|
|
#
|
|
|
|
|
2013-10-17 08:34:49 +00:00
|
|
|
extra-y = start.o
|
|
|
|
obj-y = cpu.o cache.o
|
2005-01-09 23:16:25 +00:00
|
|
|
|
2011-10-24 00:14:23 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
ifdef CONFIG_SPL_NO_CPU_SUPPORT_CODE
|
2013-10-17 08:34:49 +00:00
|
|
|
extra-y :=
|
2011-10-24 00:14:23 +00:00
|
|
|
endif
|
|
|
|
endif
|
2014-11-13 03:28:40 +00:00
|
|
|
|
2014-11-13 03:28:42 +00:00
|
|
|
obj-$(CONFIG_ARMADA100) += armada100/
|
|
|
|
obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
|
|
|
|
obj-$(CONFIG_MX25) += mx25/
|
|
|
|
obj-$(CONFIG_MX27) += mx27/
|
|
|
|
obj-$(if $(filter mxs,$(SOC)),y) += mxs/
|
|
|
|
obj-$(if $(filter spear,$(SOC)),y) += spear/
|
2015-10-23 16:06:40 +00:00
|
|
|
|
|
|
|
# some files can only build in ARM or THUMB2, not THUMB1
|
|
|
|
|
|
|
|
ifdef CONFIG_SYS_THUMB_BUILD
|
|
|
|
ifndef CONFIG_HAS_THUMB2
|
|
|
|
|
|
|
|
CFLAGS_cpu.o := -marm
|
|
|
|
CFLAGS_cache.o := -marm
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|