1*adf73ae2SHope Wang# 2*adf73ae2SHope Wang# Copyright (c) 2025, MediaTek Inc. All rights reserved. 3*adf73ae2SHope Wang# 4*adf73ae2SHope Wang# SPDX-License-Identifier: BSD-3-Clause 5*adf73ae2SHope Wang# 6*adf73ae2SHope Wang 7*adf73ae2SHope WangLOCAL_DIR := $(call GET_LOCAL_DIR) 8*adf73ae2SHope Wang 9*adf73ae2SHope WangMODULE := spmi 10*adf73ae2SHope Wang 11*adf73ae2SHope WangPLAT_INCLUDES += -I${MTK_PLAT}/drivers/spmi/pmif_v1 12*adf73ae2SHope Wang 13*adf73ae2SHope Wang#Add your source code here 14*adf73ae2SHope WangLOCAL_SRCS-y := ${LOCAL_DIR}/pmif_common.c 15*adf73ae2SHope WangLOCAL_SRCS-y += ${LOCAL_DIR}/spmi_common.c 16*adf73ae2SHope WangLOCAL_SRCS-y += ${LOCAL_DIR}/${MTK_SOC}/platform_pmif_spmi.c 17*adf73ae2SHope Wang 18*adf73ae2SHope Wang#Epilogue, build as module 19*adf73ae2SHope Wang$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL))) 20