soc/mediatek/mt8189: Specify MTKLIB_PATH for building BL31
Add BL31 static library path to BL31 build argument. BUG=b:379008996 BRANCH=none TEST=build passed Signed-off-by: Gavin Liu <gavin.liu@mediatek.corp-partner.google.com> Change-Id: I718be15e1a9b6942558ce929baedec18bdcd3309 Reviewed-on: https://review.coreboot.org/c/coreboot/+/88448 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
parent
e583b2ffb7
commit
a775bfc2b2
1 changed files with 6 additions and 0 deletions
|
|
@ -67,6 +67,12 @@ CPPFLAGS_common += -Isrc/soc/mediatek/common/dp/include
|
|||
|
||||
MT8189_BLOB_DIR := 3rdparty/blobs/soc/mediatek/mt8189
|
||||
|
||||
BL31_LIB := $(top)/$(MT8189_BLOB_DIR)/libbl31.a
|
||||
|
||||
ifneq ($(wildcard $(BL31_LIB)),)
|
||||
BL31_MAKEARGS += MTKLIB_PATH=$(BL31_LIB)
|
||||
endif
|
||||
|
||||
firmware-files := \
|
||||
$(CONFIG_DPM_DM_FIRMWARE) \
|
||||
$(CONFIG_DPM_PM_FIRMWARE) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue