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