6db4831e98
Android 14
54 lines
2.7 KiB
Makefile
54 lines
2.7 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_PM_DEVFREQ) += devfreq.o
|
|
obj-$(CONFIG_PM_DEVFREQ_EVENT) += devfreq-event.o
|
|
obj-$(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND) += governor_simpleondemand.o
|
|
obj-$(CONFIG_DEVFREQ_GOV_PERFORMANCE) += governor_performance.o
|
|
obj-$(CONFIG_DEVFREQ_GOV_POWERSAVE) += governor_powersave.o
|
|
obj-$(CONFIG_DEVFREQ_GOV_USERSPACE) += governor_userspace.o
|
|
obj-$(CONFIG_DEVFREQ_GOV_PASSIVE) += governor_passive.o
|
|
|
|
# DEVFREQ Drivers
|
|
obj-$(CONFIG_ARM_EXYNOS_BUS_DEVFREQ) += exynos-bus.o
|
|
obj-$(CONFIG_ARM_RK3399_DMC_DEVFREQ) += rk3399_dmc.o
|
|
obj-$(CONFIG_ARM_TEGRA_DEVFREQ) += tegra-devfreq.o
|
|
|
|
ifneq ($(strip $(CONFIG_MTK_TINYSYS_SSPM_SUPPORT)$(CONFIG_MTK_TINYSYS_SSPM_PLT_SUPPORT)),)
|
|
ifneq ($(strip $(CONFIG_MTK_TINYSYS_SSPM_V2)),)
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/sspm/v2/
|
|
else ifneq ($(CONFIG_MTK_TINYSYS_SSPM_VERSION),"")
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/sspm/v1/
|
|
else
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/sspm/
|
|
endif
|
|
endif
|
|
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/spm/$(MTK_PLATFORM)/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/dramc/$(MTK_PLATFORM)/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/$(MTK_PLATFORM)/include/
|
|
ccflags-y += -I$(srctree)/drivers/watchdog/mediatek/include/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/dramc/$(MTK_PLATFORM)/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/sspm/$(MTK_PLATFORM)/
|
|
ccflags-y += -I$(srctree)/drivers/watchdog/mediatek/include/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/emi/$(MTK_PLATFORM)/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/emi/submodule/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/mmdvfs/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/spm/common/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/$(CONFIG_MTK_PLATFORM)\
|
|
|
|
obj-$(CONFIG_MACH_MT6768) += helio-dvfsrc-ipi.o
|
|
obj-$(CONFIG_MACH_MT6768) += helio-dvfsrc-v2/helio-dvfsrc.o helio-dvfsrc-v2/helio-dvfsrc-mt6768.o helio-dvfsrc-v2/helio-dvfsrc-opp-mt6768.o helio-dvfsrc-v2/helio-dvfsrc-opp.o helio-dvfsrc-v2/helio-dvfsrc-sysfs.o
|
|
|
|
obj-$(CONFIG_MACH_MT6785) += helio-dvfsrc-v3/
|
|
obj-$(CONFIG_MACH_MT6885) += helio-dvfsrc-v3/
|
|
obj-$(CONFIG_MACH_MT6873) += helio-dvfsrc-v3/
|
|
obj-$(CONFIG_MACH_MT6853) += helio-dvfsrc-v3/
|
|
obj-$(CONFIG_MACH_MT6893) += helio-dvfsrc-v3/
|
|
obj-$(CONFIG_MACH_MT6833) += helio-dvfsrc-v3/
|
|
obj-$(CONFIG_MACH_MT6877) += helio-dvfsrc-v3/
|
|
obj-$(CONFIG_MACH_MT6781) += helio-dvfsrc-v3/
|
|
# DEVFREQ Event Drivers
|
|
obj-$(CONFIG_PM_DEVFREQ_EVENT) += event/
|