mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2024-11-19 13:27:49 +00:00
80 lines
2.7 KiB
Makefile
80 lines
2.7 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Core
|
|
ifeq ($(CONFIG_EINT_MTK),m)
|
|
obj-m += pinctrl-mtk-v2.o
|
|
else ifeq ($(CONFIG_PINCTRL_MTK_V2),m)
|
|
obj-m += pinctrl-mtk-v2.o
|
|
else ifeq ($(CONFIG_PINCTRL_MTK_PARIS),m)
|
|
obj-m += pinctrl-mtk-v2.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_EINT_MTK),y)
|
|
obj-y += mtk-eint.o
|
|
else ifeq ($(CONFIG_EINT_MTK),m)
|
|
pinctrl-mtk-v2-y += mtk-eint.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PINCTRL_MTK_V2),y)
|
|
obj-y += pinctrl-mtk-common-v2.o
|
|
else ifeq ($(CONFIG_PINCTRL_MTK_V2),m)
|
|
pinctrl-mtk-v2-y += pinctrl-mtk-common-v2.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PINCTRL_MTK_PARIS),y)
|
|
obj-y += pinctrl-paris.o pinctrl-mtk-common-v2_debug.o
|
|
else ifeq ($(CONFIG_PINCTRL_MTK_PARIS),m)
|
|
pinctrl-mtk-v2-y += pinctrl-paris.o
|
|
obj-m += pinctrl-mtk-common-v2_debug.o
|
|
endif
|
|
|
|
obj-$(CONFIG_PINCTRL_MTK) += pinctrl-mtk-common.o
|
|
obj-$(CONFIG_PINCTRL_MTK_MOORE) += pinctrl-moore.o
|
|
|
|
# SoC Drivers
|
|
obj-$(CONFIG_PINCTRL_MT2701) += pinctrl-mt2701.o
|
|
obj-$(CONFIG_PINCTRL_MT2712) += pinctrl-mt2712.o
|
|
obj-$(CONFIG_PINCTRL_MT8135) += pinctrl-mt8135.o
|
|
obj-$(CONFIG_PINCTRL_MT8127) += pinctrl-mt8127.o
|
|
obj-$(CONFIG_PINCTRL_MT6765) += pinctrl-mt6765.o
|
|
obj-$(CONFIG_PINCTRL_MT6779) += pinctrl-mt6779.o
|
|
obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-mt6797.o
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6373.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6373) += pinctrl-mt6373.o
|
|
endif
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6789.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6789) += pinctrl-mt6789.o
|
|
endif
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6833.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6833) += pinctrl-mt6833.o
|
|
endif
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6853.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6853) += pinctrl-mt6853.o
|
|
endif
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6855.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6855) += pinctrl-mt6855.o
|
|
endif
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6873.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6873) += pinctrl-mt6873.o
|
|
endif
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6879.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6879) += pinctrl-mt6879.o
|
|
endif
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6885.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6885) += pinctrl-mt6885.o
|
|
endif
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6895.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6895) += pinctrl-mt6895.o
|
|
endif
|
|
ifneq ($(wildcard $(srctree)/$(src)/pinctrl-mt6983.c),)
|
|
obj-$(CONFIG_PINCTRL_MT6983) += pinctrl-mt6983.o
|
|
endif
|
|
obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
|
|
obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
|
|
obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
|
|
obj-$(CONFIG_PINCTRL_MT8167) += pinctrl-mt8167.o
|
|
obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
|
|
obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
|
|
obj-$(CONFIG_PINCTRL_MT8192) += pinctrl-mt8192.o
|
|
obj-$(CONFIG_PINCTRL_MT8516) += pinctrl-mt8516.o
|
|
obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
|