fix(juno): disable debug builds for tbb w/ stack protector enabled
Juno has run into size constraints affecting BL2. This issue spills over
when we try and compile TF-A with TBB and stack protector enabled. While
we try to figure out a long term solution to this problem, make this a
release build to conserve memory.
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
Change-Id: I63010999fd198ec0e74f0b47a29985b10a70a8a0
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index a0e0b25..f2fcebd 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -239,7 +239,10 @@
clean_build $juno_common_flags SPD=tspd ${ARM_TBB_OPTIONS}
clean_build $juno_common_flags EL3_PAYLOAD_BASE=0x80000000
clean_build $juno_common_flags ENABLE_STACK_PROTECTOR=strong ETHOSN_NPU_DRIVER=1
-clean_build $juno_common_flags ${ARM_TBB_OPTIONS} ENABLE_STACK_PROTECTOR=strong ETHOSN_NPU_DRIVER=1 ETHOSN_NPU_TZMP1=1
+# FIXME: temporarily disable debug builds for this configuration until BL2 size
+# issues are resolved.
+clean_build "$(common release) PLAT=juno" ${ARM_TBB_OPTIONS} \
+ ENABLE_STACK_PROTECTOR=strong ETHOSN_NPU_DRIVER=1 ETHOSN_NPU_TZMP1=1
clean_build $juno_common_flags CSS_USE_SCMI_SDS_DRIVER=0
# TRNG Service