Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Prafulla Wadaskar | 4efb77d | 2009-06-20 11:01:53 +0200 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2009 |
| 4 | # Marvell Semiconductor <www.marvell.com> |
| 5 | # Written-by: Prafulla Wadaskar <prafulla@marvell.com> |
Prafulla Wadaskar | 4efb77d | 2009-06-20 11:01:53 +0200 | [diff] [blame] | 6 | |
Masahiro Yamada | d8769c6 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 7 | obj-y = cpu.o |
Masahiro Yamada | d8769c6 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 8 | obj-y += cache.o |
Stefan Roese | d80cca2 | 2014-10-22 12:13:05 +0200 | [diff] [blame] | 9 | obj-y += mpp.o |
Albert ARIBAUD | e7de61b | 2015-10-23 18:06:42 +0200 | [diff] [blame] | 10 | |
| 11 | # cpu.o and cache.o contain CP15 instructions which cannot be run in |
| 12 | # Thumb state, so build them for ARM state even with CONFIG_SYS_THUMB_BUILD |
| 13 | |
| 14 | CFLAGS_cpu.o := -marm |
| 15 | CFLAGS_cache.o := -marm |