fix(stm32mp1): use dedicated folder for TBBR compilation
Compiling in the same folder as for non-TTBR case leads to that error:
arm-none-eabi-ld.bfd: build/stm32mp1-sdmmc/debug/bl2/bl2.elf
section `xlat_table' will not fit in region `RAM'
Specify a dedicated directory for this compilation case.
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I8f59069a4ab0313173711629c3bf0c9f9f884a2b
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index 4692a9b..288024c 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -609,7 +609,7 @@
# STM32MP1 TBBR
make PLAT=stm32mp1 CROSS_COMPILE=arm-none-eabi- \
$(common_flags) ARM_ARCH_MAJOR=7 STM32MP_SDMMC=1 \
- BUILD_PLAT=build/stm32mp1-sdmmc/debug \
+ BUILD_PLAT=build/stm32mp1-sdmmc-tbbr/debug \
MBEDTLS_DIR=$(pwd)/mbedtls TRUSTED_BOARD_BOOT=1 \
ARCH=aarch32 AARCH32_SP=sp_min ENABLE_STACK_PROTECTOR=strong bl2 bl32
@@ -622,7 +622,7 @@
# STM32MP13 TBBR
make PLAT=stm32mp1 CROSS_COMPILE=arm-none-eabi- \
$(common_flags) ARM_ARCH_MAJOR=7 STM32MP_SDMMC=1 \
- BUILD_PLAT=build/stm32mp1-mp13-sdmmc/debug STM32MP13=1 \
+ BUILD_PLAT=build/stm32mp1-mp13-sdmmc-tbbr/debug STM32MP13=1 \
MBEDTLS_DIR=$(pwd)/mbedtls TRUSTED_BOARD_BOOT=1 \
ARCH=aarch32 AARCH32_SP=optee ENABLE_STACK_PROTECTOR=strong bl2