From edcadeb7b83b772ae1d9ff072a960ddf573befc2 Mon Sep 17 00:00:00 2001 From: Carlo Caione Date: Wed, 18 Sep 2019 11:03:10 +0100 Subject: [PATCH] amlogic: makefile: Use PLAT variable when possible To address the file names. Signed-off-by: Carlo Caione Change-Id: Ib79b8dfa032a1db012c5031d47de61e1a16b5f9a --- plat/amlogic/gxbb/platform.mk | 6 +++--- plat/amlogic/gxl/platform.mk | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plat/amlogic/gxbb/platform.mk b/plat/amlogic/gxbb/platform.mk index 57167b07..62384d2a 100644 --- a/plat/amlogic/gxbb/platform.mk +++ b/plat/amlogic/gxbb/platform.mk @@ -22,9 +22,9 @@ GIC_SOURCES := drivers/arm/gic/common/gic_common.c \ BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \ plat/common/plat_psci_common.c \ drivers/amlogic/console/aarch64/meson_console.S \ - ${AML_PLAT_SOC}/gxbb_bl31_setup.c \ - ${AML_PLAT_SOC}/gxbb_pm.c \ - ${AML_PLAT_SOC}/gxbb_common.c \ + ${AML_PLAT_SOC}/${PLAT}_bl31_setup.c \ + ${AML_PLAT_SOC}/${PLAT}_pm.c \ + ${AML_PLAT_SOC}/${PLAT}_common.c \ ${AML_PLAT_COMMON}/aarch64/aml_helpers.S \ ${AML_PLAT_COMMON}/aml_efuse.c \ ${AML_PLAT_COMMON}/aml_mhu.c \ diff --git a/plat/amlogic/gxl/platform.mk b/plat/amlogic/gxl/platform.mk index 2e47670f..641d177b 100644 --- a/plat/amlogic/gxl/platform.mk +++ b/plat/amlogic/gxl/platform.mk @@ -25,9 +25,9 @@ GIC_SOURCES := drivers/arm/gic/common/gic_common.c \ BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \ plat/common/plat_psci_common.c \ drivers/amlogic/console/aarch64/meson_console.S \ - ${AML_PLAT_SOC}/gxl_bl31_setup.c \ - ${AML_PLAT_SOC}/gxl_pm.c \ - ${AML_PLAT_SOC}/gxl_common.c \ + ${AML_PLAT_SOC}/${PLAT}_bl31_setup.c \ + ${AML_PLAT_SOC}/${PLAT}_pm.c \ + ${AML_PLAT_SOC}/${PLAT}_common.c \ ${AML_PLAT_COMMON}/aarch64/aml_helpers.S \ ${AML_PLAT_COMMON}/aml_efuse.c \ ${AML_PLAT_COMMON}/aml_mhu.c \ -- 2.30.2