mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-04 09:58:40 +00:00
amlogic: Rework Makefiles
Now that every piece is in place, the makefiles can be refactored and slightly beautified removing useless and redundant parts. Signed-off-by: Carlo Caione <ccaione@baylibre.com> Change-Id: If74e1909df52d475cf4b0dfed819d07d3a4c85b9
This commit is contained in:
parent
35aee24ef5
commit
fab6951227
2 changed files with 37 additions and 39 deletions
|
@ -19,21 +19,20 @@ GIC_SOURCES := drivers/arm/gic/common/gic_common.c \
|
||||||
drivers/arm/gic/v2/gicv2_helpers.c \
|
drivers/arm/gic/v2/gicv2_helpers.c \
|
||||||
plat/common/plat_gicv2.c
|
plat/common/plat_gicv2.c
|
||||||
|
|
||||||
PLAT_BL_COMMON_SOURCES := drivers/amlogic/console/aarch64/meson_console.S \
|
|
||||||
${AML_PLAT_SOC}/gxbb_common.c \
|
|
||||||
${AML_PLAT_COMMON}/aml_topology.c \
|
|
||||||
${XLAT_TABLES_LIB_SRCS}
|
|
||||||
|
|
||||||
BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \
|
BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \
|
||||||
plat/common/plat_psci_common.c \
|
plat/common/plat_psci_common.c \
|
||||||
${AML_PLAT_COMMON}/aarch64/aml_helpers.S \
|
drivers/amlogic/console/aarch64/meson_console.S \
|
||||||
${AML_PLAT_SOC}/gxbb_bl31_setup.c \
|
${AML_PLAT_SOC}/gxbb_bl31_setup.c \
|
||||||
|
${AML_PLAT_SOC}/gxbb_pm.c \
|
||||||
|
${AML_PLAT_SOC}/gxbb_common.c \
|
||||||
|
${AML_PLAT_COMMON}/aarch64/aml_helpers.S \
|
||||||
${AML_PLAT_COMMON}/aml_efuse.c \
|
${AML_PLAT_COMMON}/aml_efuse.c \
|
||||||
${AML_PLAT_COMMON}/aml_mhu.c \
|
${AML_PLAT_COMMON}/aml_mhu.c \
|
||||||
${AML_PLAT_SOC}/gxbb_pm.c \
|
|
||||||
${AML_PLAT_COMMON}/aml_scpi.c \
|
${AML_PLAT_COMMON}/aml_scpi.c \
|
||||||
${AML_PLAT_COMMON}/aml_sip_svc.c \
|
${AML_PLAT_COMMON}/aml_sip_svc.c \
|
||||||
${AML_PLAT_COMMON}/aml_thermal.c \
|
${AML_PLAT_COMMON}/aml_thermal.c \
|
||||||
|
${AML_PLAT_COMMON}/aml_topology.c \
|
||||||
|
${XLAT_TABLES_LIB_SRCS} \
|
||||||
${GIC_SOURCES}
|
${GIC_SOURCES}
|
||||||
|
|
||||||
# Tune compiler for Cortex-A53
|
# Tune compiler for Cortex-A53
|
||||||
|
|
|
@ -22,22 +22,21 @@ GIC_SOURCES := drivers/arm/gic/common/gic_common.c \
|
||||||
drivers/arm/gic/v2/gicv2_helpers.c \
|
drivers/arm/gic/v2/gicv2_helpers.c \
|
||||||
plat/common/plat_gicv2.c
|
plat/common/plat_gicv2.c
|
||||||
|
|
||||||
PLAT_BL_COMMON_SOURCES := drivers/amlogic/console/aarch64/meson_console.S \
|
|
||||||
${AML_PLAT_SOC}/gxl_common.c \
|
|
||||||
${AML_PLAT_COMMON}/aml_topology.c \
|
|
||||||
${XLAT_TABLES_LIB_SRCS}
|
|
||||||
|
|
||||||
BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \
|
BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \
|
||||||
plat/common/plat_psci_common.c \
|
plat/common/plat_psci_common.c \
|
||||||
${AML_PLAT_COMMON}/aarch64/aml_helpers.S \
|
drivers/amlogic/console/aarch64/meson_console.S \
|
||||||
${AML_PLAT_SOC}/gxl_bl31_setup.c \
|
${AML_PLAT_SOC}/gxl_bl31_setup.c \
|
||||||
|
${AML_PLAT_SOC}/gxl_pm.c \
|
||||||
|
${AML_PLAT_SOC}/gxl_common.c \
|
||||||
|
${AML_PLAT_COMMON}/aarch64/aml_helpers.S \
|
||||||
${AML_PLAT_COMMON}/aml_efuse.c \
|
${AML_PLAT_COMMON}/aml_efuse.c \
|
||||||
${AML_PLAT_COMMON}/aml_mhu.c \
|
${AML_PLAT_COMMON}/aml_mhu.c \
|
||||||
${AML_PLAT_SOC}/gxl_pm.c \
|
|
||||||
${AML_PLAT_COMMON}/aml_scpi.c \
|
${AML_PLAT_COMMON}/aml_scpi.c \
|
||||||
${AML_PLAT_COMMON}/aml_sip_svc.c \
|
${AML_PLAT_COMMON}/aml_sip_svc.c \
|
||||||
${AML_PLAT_COMMON}/aml_thermal.c \
|
${AML_PLAT_COMMON}/aml_thermal.c \
|
||||||
|
${AML_PLAT_COMMON}/aml_topology.c \
|
||||||
drivers/amlogic/crypto/sha_dma.c \
|
drivers/amlogic/crypto/sha_dma.c \
|
||||||
|
${XLAT_TABLES_LIB_SRCS} \
|
||||||
${GIC_SOURCES}
|
${GIC_SOURCES}
|
||||||
|
|
||||||
# Tune compiler for Cortex-A53
|
# Tune compiler for Cortex-A53
|
||||||
|
|
Loading…
Add table
Reference in a new issue