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

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