Makefile 1.23 KB
Newer Older
1
2
3
4
5
6
#
# Copyright (c) 2014 Google, Inc
#
# SPDX-License-Identifier:	GPL-2.0+
#

7
8
obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o

9
10
11
12
ifdef CONFIG_TPL_BUILD
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
else ifdef CONFIG_SPL_BUILD
13
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
14
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
15
obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board-spl.o
16
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
17
obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
18
obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
19
else
20
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
21
obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board.o
22
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
23
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
24
25
26
ifdef CONFIG_RAM
obj-y += sdram_common.o
endif
27
endif
28
ifndef CONFIG_ARM64
huang lin's avatar
huang lin committed
29
obj-y += rk_timer.o
30
endif
31
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
32
33
34
35
36

ifndef CONFIG_TPL_BUILD
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
endif

37
obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x/
38
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
39
obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
40
obj-$(CONFIG_ROCKCHIP_RK3368) += rk3368/
41
obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/
42
obj-$(CONFIG_ROCKCHIP_RV1108) += rv1108/