Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. # SPDX-License-Identifier: GPL-2.0
  2. # Core
  3. obj-$(CONFIG_PINCTRL_MTK) += pinctrl-mtk-common.o
  4. ifneq ($(CONFIG_ARCH_MEDIATEK), n)
  5. ccflags-y += -DCONFIG_PINCTRL_MTK_ALTERNATIVE
  6. endif
  7. obj-$(CONFIG_EINT_MTK) += mtk-eint.o
  8. obj-$(CONFIG_PINCTRL_MTK_MOORE) += pinctrl-moore.o pinctrl-mtk-common-v2.o
  9. obj-$(CONFIG_PINCTRL_MTK_PARIS) += pinctrl-paris.o pinctrl-mtk-common-v2.o pinctrl-mtk-common-v2_debug.o
  10. # SoC Drivers
  11. obj-$(CONFIG_PINCTRL_MT2701) += pinctrl-mt2701.o
  12. obj-$(CONFIG_PINCTRL_MT8135) += pinctrl-mt8135.o
  13. obj-$(CONFIG_PINCTRL_MT8127) += pinctrl-mt8127.o
  14. obj-$(CONFIG_PINCTRL_MT8167) += pinctrl-mt8167.o
  15. obj-$(CONFIG_PINCTRL_MT8168) += pinctrl-mt8168.o
  16. obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
  17. obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
  18. obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
  19. obj-$(CONFIG_PINCTRL_MT6739) += pinctrl-mt6739.o
  20. obj-$(CONFIG_PINCTRL_MT6765) += pinctrl-mt6765.o
  21. obj-$(CONFIG_PINCTRL_MT6768) += pinctrl-mt6768.o
  22. obj-$(CONFIG_PINCTRL_MT6771) += pinctrl-mt6771.o
  23. obj-$(CONFIG_PINCTRL_MT6785) += pinctrl-mt6785.o
  24. obj-$(CONFIG_PINCTRL_MT6833) += pinctrl-mt6833.o
  25. obj-$(CONFIG_PINCTRL_MT6853) += pinctrl-mt6853.o
  26. obj-$(CONFIG_PINCTRL_MT6873) += pinctrl-mt6873.o
  27. obj-$(CONFIG_PINCTRL_MT6885) += pinctrl-mt6885.o