summaryrefslogtreecommitdiff
path: root/arch/arm/mach-kirkwood/Makefile
blob: 3b2eef8d54199b7b225d2527517347ffffc67126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2009
# Marvell Semiconductor <www.marvell.com>
# Written-by: Prafulla Wadaskar <prafulla@marvell.com>

obj-y	= cpu.o
obj-y	+= cache.o
obj-y	+= mpp.o

# cpu.o and cache.o contain CP15 instructions which cannot be run in
# Thumb state, so build them for ARM state even with CONFIG_SYS_THUMB_BUILD

CFLAGS_cpu.o := -marm
CFLAGS_cache.o := -marm