summaryrefslogtreecommitdiffstats
path: root/plat/mediatek/common/rules.mk
blob: 6acc731f27ae5d75b7b18223966ba786f4cdaea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# Copyright (c) 2022, MediaTek Inc. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#

LOCAL_DIR := $(call GET_LOCAL_DIR)

MODULE := mtk_common

LOCAL_SRCS-y := ${LOCAL_DIR}/mtk_bl31_setup.c
LOCAL_SRCS-y += ${LOCAL_DIR}/mtk_smc_handlers.c
LOCAL_SRCS-$(MTK_SIP_KERNEL_BOOT_ENABLE) += ${LOCAL_DIR}/cold_boot.c

$(eval $(call MAKE_LOCALS,$(LOCAL_SRCS-y),$(MTK_BL)))