rules.mk 404 B

1234567891011121314151617
  1. #
  2. # Copyright (c) 2022, MediaTek Inc. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. LOCAL_DIR := $(call GET_LOCAL_DIR)
  7. MODULE := mtk_iommu
  8. LOCAL_SRCS-y := ${LOCAL_DIR}/mtk_iommu_smc.c
  9. LOCAL_SRCS-y += ${LOCAL_DIR}/${MTK_SOC}/mtk_iommu_plat.c
  10. PLAT_INCLUDES += -I${LOCAL_DIR}
  11. PLAT_INCLUDES += -I${LOCAL_DIR}/${MTK_SOC}
  12. $(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))