xref: /openbmc/u-boot/arch/arm/mach-kirkwood/Makefile (revision b3820ba9)
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
7obj-y	= cpu.o
8obj-y	+= cache.o
9obj-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
14CFLAGS_cpu.o := -marm
15CFLAGS_cache.o := -marm
16