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