mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-23 10:28:51 +09:00
![Albert ARIBAUD](/assets/img/avatar_default.png)
Kirkwood files cpu.c and cache.c cannot build in Thumb state; force them in ARM state even under CONFIG_SYS_THUMB_BUILD. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
18 lines
400 B
Makefile
18 lines
400 B
Makefile
#
|
|
# (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
|