aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm/plat-rockchip/sub.mk
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>2019-10-10 00:23:51 +0200
committerJérôme Forissier <jerome@forissier.org>2019-10-31 15:43:20 +0100
commitfe5a87703c7cf4c9ab108079ddb03610a7cb595e (patch)
tree481a0ab54c014bc4184bf768f921cd26c1f4458c /core/arch/arm/plat-rockchip/sub.mk
parent3b4c661f736c1bf3786f1b5a2a9dec775ad07de7 (diff)
plat-rockchip: cleanup build infrastructure to make room for more platforms
Most features used by rk322x really will be limited to it even in the future as all other platforms will be a secure payload together with trusted firmware. So clean up the make files accordingly. Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com> Acked-by: Jerome Forissier <jerome@forissier.org> Acked-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Diffstat (limited to 'core/arch/arm/plat-rockchip/sub.mk')
-rw-r--r--core/arch/arm/plat-rockchip/sub.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/arch/arm/plat-rockchip/sub.mk b/core/arch/arm/plat-rockchip/sub.mk
index f13e518d..ca42c737 100644
--- a/core/arch/arm/plat-rockchip/sub.mk
+++ b/core/arch/arm/plat-rockchip/sub.mk
@@ -1,10 +1,9 @@
global-incdirs-y += .
srcs-y += main.c
srcs-y += platform.c
-srcs-y += plat_init.S
-
-srcs-$(CFG_ARM32_core) += core_pos_a32.S
ifeq ($(PLATFORM_FLAVOR),rk322x)
+srcs-y += plat_init.S
+srcs-y += core_pos_a32.S
srcs-$(CFG_PSCI_ARM32) += psci_rk322x.c
endif