Merge "fix(mt8196): add whole-archive option to prebuilt library" into integration

This commit is contained in:
Govindraj Raja 2025-02-05 21:20:19 +01:00 committed by TrustedFirmware Code Review
commit cea1549c95

View file

@ -63,7 +63,7 @@ MODULES-$(CONFIG_MTK_MTCMOS) += $(MTK_PLAT)/drivers/mtcmos
ifneq ($(MTKLIB_PATH),)
LDFLAGS += -L $(dir $(MTKLIB_PATH))
LDLIBS += -l$(patsubst lib%.a,%,$(notdir $(MTKLIB_PATH)))
LDLIBS += -Wl,--whole-archive -l$(patsubst lib%.a,%,$(notdir $(MTKLIB_PATH))) -Wl,--no-whole-archive
endif
PLAT_BL_COMMON_SOURCES := common/desc_image_load.c \