mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00
Merge "fix(mt8196): add whole-archive option to prebuilt library" into integration
This commit is contained in:
commit
cea1549c95
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ MODULES-$(CONFIG_MTK_MTCMOS) += $(MTK_PLAT)/drivers/mtcmos
|
||||||
|
|
||||||
ifneq ($(MTKLIB_PATH),)
|
ifneq ($(MTKLIB_PATH),)
|
||||||
LDFLAGS += -L $(dir $(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
|
endif
|
||||||
|
|
||||||
PLAT_BL_COMMON_SOURCES := common/desc_image_load.c \
|
PLAT_BL_COMMON_SOURCES := common/desc_image_load.c \
|
||||||
|
|
Loading…
Add table
Reference in a new issue