wdenk | 7eaacc5 | 2003-08-29 22:00:43 +0000 | [diff] [blame] | 1 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2000-2006 |
wdenk | 7eaacc5 | 2003-08-29 22:00:43 +0000 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | # | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 7eaacc5 | 2003-08-29 22:00:43 +0000 | [diff] [blame] | 6 | # |
7 | |||||
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 8 | extra-y = start.o |
9 | obj-y = cpu.o cache.o | ||||
wdenk | 7eaacc5 | 2003-08-29 22:00:43 +0000 | [diff] [blame] | 10 | |
Marek Vasut | 654ac4c | 2011-10-24 00:14:23 +0000 | [diff] [blame] | 11 | ifdef CONFIG_SPL_BUILD |
12 | ifdef CONFIG_SPL_NO_CPU_SUPPORT_CODE | ||||
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 13 | extra-y := |
Marek Vasut | 654ac4c | 2011-10-24 00:14:23 +0000 | [diff] [blame] | 14 | endif |
15 | endif | ||||
Masahiro Yamada | 40e73b1 | 2014-11-13 12:28:40 +0900 | [diff] [blame] | 16 | |
Masahiro Yamada | abde127 | 2014-11-13 12:28:42 +0900 | [diff] [blame] | 17 | obj-$(CONFIG_ARMADA100) += armada100/ |
Masahiro Yamada | abde127 | 2014-11-13 12:28:42 +0900 | [diff] [blame] | 18 | obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/ |
Masahiro Yamada | abde127 | 2014-11-13 12:28:42 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_MX25) += mx25/ |
20 | obj-$(CONFIG_MX27) += mx27/ | ||||
21 | obj-$(if $(filter mxs,$(SOC)),y) += mxs/ | ||||
Masahiro Yamada | abde127 | 2014-11-13 12:28:42 +0900 | [diff] [blame] | 22 | obj-$(if $(filter spear,$(SOC)),y) += spear/ |
Albert ARIBAUD | a382322 | 2015-10-23 18:06:40 +0200 | [diff] [blame] | 23 | |
24 | # some files can only build in ARM or THUMB2, not THUMB1 | ||||
25 | |||||
Tom Rini | 1c640a6 | 2017-03-18 09:01:44 -0400 | [diff] [blame] | 26 | ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD |
Albert ARIBAUD | a382322 | 2015-10-23 18:06:40 +0200 | [diff] [blame] | 27 | ifndef CONFIG_HAS_THUMB2 |
28 | |||||
29 | CFLAGS_cpu.o := -marm | ||||
30 | CFLAGS_cache.o := -marm | ||||
31 | |||||
32 | endif | ||||
33 | endif |