Prafulla Wadaskar | 4efb77d | 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 | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | # SPDX-License-Identifier: GPL-2.0+ |
Prafulla Wadaskar | 4efb77d | 2009-06-20 11:01:53 +0200 | [diff] [blame] | 7 | # |
| 8 | |
Masahiro Yamada | d8769c6 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 9 | obj-y = cpu.o |
Masahiro Yamada | d8769c6 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 10 | obj-y += cache.o |
Stefan Roese | d80cca2 | 2014-10-22 12:13:05 +0200 | [diff] [blame] | 11 | obj-y += mpp.o |
Albert ARIBAUD | e7de61b | 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 |