blob: 29265c485040713fd5fcb2c23b5f75802ff1d56a [file] [log] [blame]
developer6d207b42022-07-07 19:30:22 +08001#
2# Copyright (c) 2022, MediaTek Inc. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#
7
8LOCAL_DIR := $(call GET_LOCAL_DIR)
9
10MODULE := pm
11
12LOCAL_SRCS-y := ${LOCAL_DIR}/mtk_pm.c
13
14$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))
developera4938652022-09-05 16:36:31 +080015
16SUB_RULES-$(CONFIG_MTK_PM_SUPPORT) := $(LOCAL_DIR)/armv${CONFIG_MTK_PM_ARCH}
17$(eval $(call INCLUDE_MAKEFILE,$(SUB_RULES-y)))