Browse Source
TEST=build pass. BUG=b:233720142 Signed-off-by: Song Fan <ot_song.fan@mediatek.corp-partner.google.com> Change-Id: I348eff0f53341593f74a63780e2e8298cbc3ec88pull/1988/head
Song Fan
2 years ago
committed by
Bo-Chen Chen
4 changed files with 34 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||
/*
|
|||
* Copyright (c) 2022, MediaTek Inc. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#ifndef RTC_H |
|||
#define RTC_H |
|||
|
|||
#include <rtc_mt6359p.h> |
|||
|
|||
#endif /* RTC_H */ |
@ -0,0 +1,20 @@ |
|||
#
|
|||
# Copyright (c) 2022, MediaTek Inc. All rights reserved.
|
|||
#
|
|||
# SPDX-License-Identifier: BSD-3-Clause
|
|||
#
|
|||
|
|||
LOCAL_DIR := $(call GET_LOCAL_DIR) |
|||
|
|||
MODULE := rtc |
|||
|
|||
LOCAL_SRCS-y := ${LOCAL_DIR}/rtc_common.c |
|||
|
|||
ifeq (${USE_RTC_MT6359P}, 1) |
|||
LOCAL_SRCS-y += ${LOCAL_DIR}/rtc_mt6359p.c |
|||
PLAT_INCLUDES += -I${LOCAL_DIR} |
|||
endif |
|||
|
|||
PLAT_INCLUDES += -I${LOCAL_DIR}/${MTK_SOC} |
|||
|
|||
$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL))) |
Loading…
Reference in new issue