summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Pandey <manish.pandey2@arm.com>2026-01-08 15:57:15 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2026-01-08 15:57:15 +0000
commit3f637a40d624a9b620284f9e9ddc42706e02234c (patch)
tree60ccac411357a50f37d38b7cd26c8331d5445f15
parentc72e81c568c258f02f31fa7dc70cca566183b719 (diff)
parentabf591562dd88ee1b839539175fdc348957fb59f (diff)
downloadarm-trusted-firmware-3f637a40d624a9b620284f9e9ddc42706e02234c.tar.gz
arm-trusted-firmware-3f637a40d624a9b620284f9e9ddc42706e02234c.zip
Merge "feat(st): allow the use of clang as linker" into integration
-rw-r--r--plat/st/common/common_rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/st/common/common_rules.mk b/plat/st/common/common_rules.mk
index 8557e0c6d..b1dae1ce4 100644
--- a/plat/st/common/common_rules.mk
+++ b/plat/st/common/common_rules.mk
@@ -67,7 +67,7 @@ tf-a-%.bin: tf-a-%.elf
tf-a-%.stm32: tf-a-%.bin ${STM32_DEPS}
$(s)echo
$(s)echo "Generate $@"
-ifeq ($($(ARCH)-ld-id),llvm-lld)
+ifneq ($(filter $($(ARCH)-ld-id),llvm-clang llvm-lld),)
$(eval LOADADDR = 0x$(shell cat $(@:.stm32=.map) | grep '\.data$$' | awk '{print $$1}'))
$(eval ENTRY = 0x$(shell cat $(@:.stm32=.map) | grep "__BL2_IMAGE_START" | awk '{print $$1}'))
else