soc/mediatek/mt8196: Specify MTKLIB_PATH for building BL31
Add BL31 static library path to BL31 build argument. BRANCH=rauru BUG=b:317009620 TEST=Build pass with and without static library. boot ok. Change-Id: I858686ede3730fb70f71565ca3593e7eb4c460d2 Signed-off-by: Gavin Liu <gavin.liu@mediatek.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86252 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
0e66daffac
commit
2fdfa50437
1 changed files with 6 additions and 0 deletions
|
|
@ -93,6 +93,12 @@ CPPFLAGS_common += -Isrc/soc/mediatek/common/dp/include
|
|||
|
||||
MT8196_BLOB_DIR := 3rdparty/blobs/soc/mediatek/mt8196
|
||||
|
||||
BL31_LIB := $(top)/$(MT8196_BLOB_DIR)/libbl31.a
|
||||
|
||||
ifneq ($(wildcard $(BL31_LIB)),)
|
||||
BL31_MAKEARGS += MTKLIB_PATH=$(BL31_LIB)
|
||||
endif
|
||||
|
||||
mcu-firmware-files := \
|
||||
$(CONFIG_DPM_DM_FIRMWARE) \
|
||||
$(CONFIG_DPM_PM_FIRMWARE) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue