mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
feat(mt8196): link prebuilt library
If MTKLIB_PATH is provided, the build will use the library provided by MTKLIB_PATH. Otherwise, it will use stub implementation. Change-Id: I218e724231c8bbc6cc851a240c6bbc4f6f49f154 Signed-off-by: Gavin Liu <gavin.liu@mediatek.corp-partner.google.com>
This commit is contained in:
parent
ea7bffdb85
commit
e033943661
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,11 @@ MODULES-y += $(MTK_PLAT)/drivers/vcp
|
|||
MODULES-y += $(MTK_PLAT)/helpers
|
||||
MODULES-y += $(MTK_PLAT)/topology
|
||||
|
||||
ifneq ($(MTKLIB_PATH),)
|
||||
LDFLAGS += -L $(dir $(MTKLIB_PATH))
|
||||
LDLIBS += -l$(patsubst lib%.a,%,$(notdir $(MTKLIB_PATH)))
|
||||
endif
|
||||
|
||||
PLAT_BL_COMMON_SOURCES := common/desc_image_load.c \
|
||||
drivers/ti/uart/aarch64/16550_console.S \
|
||||
lib/bl_aux_params/bl_aux_params.c
|
||||
|
|
Loading…
Add table
Reference in a new issue