Merge git://git.denx.de/u-boot
[platform/kernel/u-boot.git] / arch / arm / mach-orion5x / Makefile
1 #
2 # Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
3 #
4 # Based on original Kirkwood support which is
5 # (C) Copyright 2009
6 # Marvell Semiconductor <www.marvell.com>
7 # Written-by: Prafulla Wadaskar <prafulla@marvell.com>
8 #
9 # SPDX-License-Identifier:      GPL-2.0+
10 #
11
12 obj-y   = cpu.o
13 obj-y   += dram.o
14 obj-y   += timer.o
15
16 ifndef CONFIG_SKIP_LOWLEVEL_INIT
17 obj-y   += lowlevel_init.o
18 endif
19
20 # some files can only build in ARM or THUMB2, not THUMB1
21
22 ifdef CONFIG_SYS_THUMB_BUILD
23 ifndef CONFIG_HAS_THUMB2
24
25 CFLAGS_cpu.o := -marm
26
27 endif
28 endif