Prafulla Wadaskar | a09bbe5 | 2009-06-20 11:01:53 +0200 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2009 |
| 3 | # Marvell Semiconductor <www.marvell.com> |
| 4 | # Written-by: Prafulla Wadaskar <prafulla@marvell.com> |
| 5 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | # SPDX-License-Identifier: GPL-2.0+ |
Prafulla Wadaskar | a09bbe5 | 2009-06-20 11:01:53 +0200 | [diff] [blame] | 7 | # |
| 8 | |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 9 | obj-y = cpu.o |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 10 | obj-y += cache.o |
Stefan Roese | 2cc5fad | 2014-10-22 12:13:05 +0200 | [diff] [blame] | 11 | obj-y += mpp.o |
Albert ARIBAUD | 24698d4 | 2015-10-23 18:06:42 +0200 | [diff] [blame] | 12 | |
| 13 | # cpu.o and cache.o contain CP15 instructions which cannot be run in |
| 14 | # Thumb state, so build them for ARM state even with CONFIG_SYS_THUMB_BUILD |
| 15 | |
| 16 | CFLAGS_cpu.o := -marm |
| 17 | CFLAGS_cache.o := -marm |