summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/sunxi/Makefile
blob: 6c706393d39005d8fc8f82e8e30b17dc97c4eca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
#
# Based on some other Makefile
# (C) Copyright 2000-2003
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier:	GPL-2.0+
#
obj-y	+= timer.o
obj-y	+= board.o
obj-y	+= clock.o
obj-y	+= pinmux.o
obj-$(CONFIG_SUN4I)	+= clock_sun4i.o
obj-$(CONFIG_SUN5I)	+= clock_sun4i.o
obj-$(CONFIG_SUN7I)	+= clock_sun4i.o

ifndef CONFIG_SPL_BUILD
obj-y	+= cpu_info.o
endif

ifdef CONFIG_SPL_BUILD
obj-$(CONFIG_SUN4I)	+= dram.o
obj-$(CONFIG_SUN5I)	+= dram.o
obj-$(CONFIG_SUN7I)	+= dram.o
ifdef CONFIG_SPL_FEL
obj-y	+= start.o
endif
endif