1#
2# Copyright (c) 2022, MediaTek Inc. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7LOCAL_DIR := $(call GET_LOCAL_DIR)
8
9MODULE := gpio
10
11LOCAL_SRCS-y := drivers/gpio/gpio.c
12LOCAL_SRCS-y += ${LOCAL_DIR}/mtgpio_common.c
13LOCAL_SRCS-y += ${LOCAL_DIR}/${MTK_SOC}/mtgpio.c
14
15PLAT_INCLUDES += -I${LOCAL_DIR}
16PLAT_INCLUDES += -I${LOCAL_DIR}/${MTK_SOC}
17
18$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))
19