soc/mediatek/mt8189: Require libbl31.a to exist

The libbl31.a library is crucial to MT8189's UFS functionality. Modify
Makefile.mk to enforce the presence of the file.

BUG=b:453965141
TEST=emerge-skywalker coreboot
BRANCH=skywalker

Change-Id: I7af74936462a8f2f8c11782e33011686d00a6dea
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89880
Reviewed-by: Chen-Tsung Hsieh <chentsung@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
Yu-Ping Wu 2025-11-03 23:57:41 +08:00 committed by Yu-Ping Wu
commit 1b2675e4f2

View file

@ -76,10 +76,7 @@ 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) \