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

7
obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
8
obj-$(CONFIG_$(SPL_TPL_)RAM) += sdram_common.o
9

10
11
12
13
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
14
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
15
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
16
obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board-spl.o
17
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
18
obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
19
obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
20
else
21
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
22
obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board.o
23
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
24
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
25
endif
26
ifndef CONFIG_ARM64
huang lin's avatar
huang lin committed
27
obj-y += rk_timer.o
28
endif
29
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
30
31
32
33
34

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

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