xref: /openbmc/u-boot/arch/arm/mach-kirkwood/Makefile (revision 177f14da7f610ec26d3ab0aea2c8a75e2bfefa3a)
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