Skip to content
Commit e88cf4cd authored by Thomas Abraham's avatar Thomas Abraham Committed by Vijayenthiran Subramaniam
Browse files

build-arm-tf.sh: add new variable to define platform variant name



Platforms can have multiple variants while building for TF-A. For
example, rdn2 platform (which is the base variant) has two more variants
- rdn2cfg1 and rdn2cfg2. When building TF-A for a platform variant, the
TBBR enabled flag is assigned from platform's target config variable
instead of platform variant's target config variable. To correctly pick
the platform variant's target config variable, add a new environment
variable `ARM_TF_BUILD_VARIANT` in arm-tf build script to account for
the platform variants. If ARM_TF_BUILD_VARIANT is defined, then set TBBR
enabled flag from the platform variant's target variable instead of
platform's target variable.

Signed-off-by: Thomas Abraham's avatarThomas Abraham <thomas.abraham@arm.com>
Signed-off-by: Vijayenthiran Subramaniam's avatarVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Change-Id: Ia519f7e1620352026a969d7b2492821656f79fa8
parent 9bb03a8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment