arm-trusted-firmware/plat/mediatek/drivers/mminfra/rules.mk
Yong Wu 4794746eec feat(mt8196): add Mediatek MMinfra stub implementation
Implement stub functions for the MMinfra (Multimedia Infrastructure)
driver to ensure that the build can pass when a prebuilt library is
not available.

Change-Id: Iadac654950c868d3743b13a1d6f7ab5d1015fb86
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
2025-01-30 23:30:09 +08:00

17 lines
346 B
Makefile

#
# Copyright (c) 2025, MediaTek Inc. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
LOCAL_DIR := $(call GET_LOCAL_DIR)
MODULE := mminfra
PLAT_INCLUDES += -I${MTK_PLAT}/include/drivers/
ifeq ($(MTKLIB_PATH),)
LOCAL_SRCS-y := ${LOCAL_DIR}/mminfra_stub.c
endif
$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))