Gavin Liu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/86252?usp=email )
Change subject: soc/mediatek/mt8196: add TF-A static library path ......................................................................
soc/mediatek/mt8196: add TF-A static library path
Add TF-A static library path to build argument.
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 --- M src/soc/mediatek/mt8196/Makefile.mk 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/86252/1
diff --git a/src/soc/mediatek/mt8196/Makefile.mk b/src/soc/mediatek/mt8196/Makefile.mk index d780ebd..0bcd81f 100644 --- a/src/soc/mediatek/mt8196/Makefile.mk +++ b/src/soc/mediatek/mt8196/Makefile.mk @@ -93,6 +93,12 @@
MT8196_BLOB_DIR := 3rdparty/blobs/soc/mediatek/mt8196
+MTKLIB_PATH := $(top)/$(MT8196_BLOB_DIR)/libmtk.a + +ifneq ($(wildcard $(MTKLIB_PATH)),) +BL31_MAKEARGS += MTKLIB_PATH=$(MTKLIB_PATH) +endif + mcu-firmware-files := \ $(CONFIG_DPM_DM_FIRMWARE) \ $(CONFIG_DPM_PM_FIRMWARE) \