blob: 8538a643b972647be8eb0ab9be66a661bb2bb53c [file] [log] [blame]
developer369b0392022-09-20 14:50:36 +08001#
2# Copyright (c) 2022, MediaTek Inc. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7LOCAL_DIR := $(call GET_LOCAL_DIR)
8
9MODULE := audio
10
11LOCAL_SRCS-y := ${LOCAL_DIR}/audio.c
12
13PLAT_INCLUDES += -I${LOCAL_DIR}
14PLAT_INCLUDES += -I${LOCAL_DIR}/$(MTK_SOC)
15
16SUB_RULES-y:= ${LOCAL_DIR}/${MTK_SOC}
17
18$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))
19$(eval $(call INCLUDE_MAKEFILE,$(SUB_RULES-y)))