1*c70f567aSTrevor Wu# 2*c70f567aSTrevor Wu# Copyright (c) 2022, MediaTek Inc. All rights reserved. 3*c70f567aSTrevor Wu# 4*c70f567aSTrevor Wu# SPDX-License-Identifier: BSD-3-Clause 5*c70f567aSTrevor Wu# 6*c70f567aSTrevor Wu 7*c70f567aSTrevor WuLOCAL_DIR := $(call GET_LOCAL_DIR) 8*c70f567aSTrevor Wu 9*c70f567aSTrevor WuMODULE := audio 10*c70f567aSTrevor Wu 11*c70f567aSTrevor WuLOCAL_SRCS-y := ${LOCAL_DIR}/audio.c 12*c70f567aSTrevor Wu 13*c70f567aSTrevor WuPLAT_INCLUDES += -I${LOCAL_DIR} 14*c70f567aSTrevor WuPLAT_INCLUDES += -I${LOCAL_DIR}/$(MTK_SOC) 15*c70f567aSTrevor Wu 16*c70f567aSTrevor WuSUB_RULES-y:= ${LOCAL_DIR}/${MTK_SOC} 17*c70f567aSTrevor Wu 18*c70f567aSTrevor Wu$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL))) 19*c70f567aSTrevor Wu$(eval $(call INCLUDE_MAKEFILE,$(SUB_RULES-y))) 20