]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-rockchip/Makefile
327b26705dcb18a614628ba4bdbd52a966f83abe
[u-boot] / arch / arm / mach-rockchip / Makefile
1 #
2 # Copyright (c) 2014 Google, Inc
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6
7 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
8
9 ifdef CONFIG_TPL_BUILD
10 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
11 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
12 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_RK3288) += rk3288-board-spl.o
16 obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
17 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
18 else
19 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
20 obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
21 obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
22 endif
23 ifndef CONFIG_ARM64
24 obj-y += rk_timer.o
25 endif
26 obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
27
28 ifndef CONFIG_TPL_BUILD
29 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
30 endif
31
32 obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
33 obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
34 obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/