blob: 6acc731f27ae5d75b7b18223966ba786f4cdaea3 [file] [log] [blame]
developer72bccc12022-06-26 21:50:32 +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_common
10
11LOCAL_SRCS-y := ${LOCAL_DIR}/mtk_bl31_setup.c
12LOCAL_SRCS-y += ${LOCAL_DIR}/mtk_smc_handlers.c
13LOCAL_SRCS-$(MTK_SIP_KERNEL_BOOT_ENABLE) += ${LOCAL_DIR}/cold_boot.c
14
15$(eval $(call MAKE_LOCALS,$(LOCAL_SRCS-y),$(MTK_BL)))