diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | plat/st/stm32mp1/platform.mk | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -154,7 +154,7 @@ target32-directive = -target armv8a-none-eabi march32-directive = -march=armv8-a endif -ifeq ($(notdir $(CC)),armclang) +ifneq ($(findstring armclang,$(notdir $(CC))),) TF_CFLAGS_aarch32 = -target arm-arm-none-eabi $(march32-directive) TF_CFLAGS_aarch64 = -target aarch64-arm-none-eabi -march=armv8-a LD = $(LINKER) diff --git a/plat/st/stm32mp1/platform.mk b/plat/st/stm32mp1/platform.mk index 545b140d..8890e822 100644 --- a/plat/st/stm32mp1/platform.mk +++ b/plat/st/stm32mp1/platform.mk @@ -83,10 +83,6 @@ BL2_SOURCES += common/desc_image_load.c \ plat/st/stm32mp1/plat_bl2_mem_params_desc.c \ plat/st/stm32mp1/plat_image_load.c -# For memory footprint optimization, build with thumb and interwork support -ASFLAGS += -mthumb -mthumb-interwork -TF_CFLAGS += -mthumb -mthumb-interwork - # Macros and rules to build TF binary STM32_TF_ELF_LDFLAGS := --hash-style=gnu --as-needed STM32_DT_BASENAME := $(STM32_DTB_FILE_NAME:.dtb=) |