Commit 9ce0d321 authored by Sandrine Bailleux's avatar Sandrine Bailleux
Browse files

Fix a variable expansion in Arm platform makefiles



The top level makefile defines the PLAT variable, not PLATFORM.
This mistake was causing an empty variable expansion and showing an
incomplete error message.

Change-Id: I5da1275c73c61a7c1823643a76300f255841719d
Signed-off-by: default avatarSandrine Bailleux <sandrine.bailleux@arm.com>
parent a9f803b7
...@@ -94,7 +94,7 @@ endif ...@@ -94,7 +94,7 @@ endif
endif endif
ifneq (${RESET_TO_BL31},0) ifneq (${RESET_TO_BL31},0)
$(error "Using BL31 as the reset vector is not supported on ${PLATFORM} platform. \ $(error "Using BL31 as the reset vector is not supported on ${PLAT} platform. \
Please set RESET_TO_BL31 to 0.") Please set RESET_TO_BL31 to 0.")
endif endif
......
...@@ -47,7 +47,7 @@ BL31_SOURCES += ${CSS_ENT_BASE}/sgi_ras.c ...@@ -47,7 +47,7 @@ BL31_SOURCES += ${CSS_ENT_BASE}/sgi_ras.c
endif endif
ifneq (${RESET_TO_BL31},0) ifneq (${RESET_TO_BL31},0)
$(error "Using BL31 as the reset vector is not supported on ${PLATFORM} platform. \ $(error "Using BL31 as the reset vector is not supported on ${PLAT} platform. \
Please set RESET_TO_BL31 to 0.") Please set RESET_TO_BL31 to 0.")
endif endif
......
...@@ -46,7 +46,7 @@ BL31_SOURCES += $(SGM_CPU_SOURCES) \ ...@@ -46,7 +46,7 @@ BL31_SOURCES += $(SGM_CPU_SOURCES) \
${CSS_SGM_BASE}/sgm_plat_config.c ${CSS_SGM_BASE}/sgm_plat_config.c
ifneq (${RESET_TO_BL31},0) ifneq (${RESET_TO_BL31},0)
$(error "Using BL31 as the reset vector is not supported on ${PLATFORM} platform. \ $(error "Using BL31 as the reset vector is not supported on ${PLAT} platform. \
Please set RESET_TO_BL31 to 0.") Please set RESET_TO_BL31 to 0.")
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment