xref: /openbmc/u-boot/arch/arm/mach-kirkwood/Makefile (revision 83d290c56fab2d38cd1ab4c4cc7099559c1d5046)
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2009
4 # Marvell Semiconductor <www.marvell.com>
5 # Written-by: Prafulla Wadaskar <prafulla@marvell.com>
6 
7 obj-y	= cpu.o
8 obj-y	+= cache.o
9 obj-y	+= mpp.o
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
16