Hui Liu | 39ea614 | 2022-07-28 20:28:32 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (c) 2022, MediaTek Inc. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | LOCAL_DIR := $(call GET_LOCAL_DIR) |
| 8 | |
| 9 | MODULE := pmic_wrap |
| 10 | |
| 11 | ifeq (${USE_PMIC_WRAP_INIT_V2}, 1) |
| 12 | LOCAL_SRCS-y += ${LOCAL_DIR}/pmic_wrap_init_v2.c |
| 13 | else |
| 14 | LOCAL_SRCS-y += ${LOCAL_DIR}/pmic_wrap_init.c |
| 15 | endif |
| 16 | |
| 17 | PLAT_INCLUDES += -I${LOCAL_DIR}/ |
| 18 | PLAT_INCLUDES += -I${LOCAL_DIR}/${MTK_SOC} |
| 19 | |
| 20 | $(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL))) |