blob: 5490f4120d47029c4f546565d82a040f10d21fa1 [file] [log] [blame]
Chengci Xudb1e75b2022-07-20 16:20:15 +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 := mtk_iommu
10
11LOCAL_SRCS-y := ${LOCAL_DIR}/mtk_iommu_smc.c
12LOCAL_SRCS-y += ${LOCAL_DIR}/${MTK_SOC}/mtk_iommu_plat.c
13
14PLAT_INCLUDES += -I${LOCAL_DIR}
15PLAT_INCLUDES += -I${LOCAL_DIR}/${MTK_SOC}
16
17$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))