xref: /openbmc/u-boot/arch/arm/cpu/armv7/sunxi/Makefile (revision e6ddb6b0)
1#
2# (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
3#
4# Based on some other Makefile
5# (C) Copyright 2000-2003
6# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7#
8# SPDX-License-Identifier:	GPL-2.0+
9#
10obj-y	+= timer.o
11
12obj-$(CONFIG_MACH_SUN6I)	+= tzpc.o
13obj-$(CONFIG_MACH_SUN8I_H3)	+= tzpc.o
14
15ifndef CONFIG_SPL_BUILD
16ifdef CONFIG_ARMV7_PSCI
17obj-$(CONFIG_MACH_SUN6I)	+= psci_sun6i.o
18obj-$(CONFIG_MACH_SUN7I)	+= psci_sun7i.o
19obj-$(CONFIG_MACH_SUN8I)	+= psci_sun6i.o
20endif
21endif
22
23ifdef CONFIG_SPL_BUILD
24obj-y	+= fel_utils.o
25endif
26