72 lines · 2.7 KB · Makefile
RawDownload
# SPDX-License-Identifier: GPL-2.0## Makefile for sensor chip drivers.#CFLAGS_thermal_core.o		:= -I$(src)obj-$(CONFIG_THERMAL)		+= thermal_sys.othermal_sys-y			+= thermal_core.o thermal_sysfs.othermal_sys-y			+= thermal_trip.o thermal_helpers.othermal_sys-y			+= thermal_thresholds.o # netlink interface to manage the thermal frameworkthermal_sys-$(CONFIG_THERMAL_NETLINK)		+= thermal_netlink.o thermal_sys-$(CONFIG_THERMAL_DEBUGFS)	+= thermal_debugfs.o # interface to/from other layers providing sensorsthermal_sys-$(CONFIG_THERMAL_HWMON)		+= thermal_hwmon.othermal_sys-$(CONFIG_THERMAL_OF)		+= thermal_of.o # governorsCFLAGS_gov_power_allocator.o			:= -I$(src)thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE)	+= gov_fair_share.othermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG)	+= gov_bang_bang.othermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE)	+= gov_step_wise.othermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE)	+= gov_user_space.othermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR)	+= gov_power_allocator.o # cpufreq coolingthermal_sys-$(CONFIG_CPU_FREQ_THERMAL)	+= cpufreq_cooling.othermal_sys-$(CONFIG_CPU_IDLE_THERMAL)	+= cpuidle_cooling.o # devfreq coolingthermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o thermal_sys-$(CONFIG_PCIE_THERMAL) += pcie_cooling.o obj-$(CONFIG_K3_THERMAL)	+= k3_bandgap.o k3_j72xx_bandgap.o# platform thermal driversobj-y				+= broadcom/obj-$(CONFIG_THERMAL_MMIO)		+= thermal_mmio.oobj-$(CONFIG_AIROHA_THERMAL)	+= airoha_thermal.oobj-$(CONFIG_SPEAR_THERMAL)	+= spear_thermal.oobj-$(CONFIG_SUN8I_THERMAL)     += sun8i_thermal.oobj-$(CONFIG_ROCKCHIP_THERMAL)	+= rockchip_thermal.oobj-y				+= renesas/obj-$(CONFIG_KIRKWOOD_THERMAL)  += kirkwood_thermal.oobj-y				+= samsung/obj-$(CONFIG_DOVE_THERMAL)	+= dove_thermal.oobj-$(CONFIG_DB8500_THERMAL)	+= db8500_thermal.oobj-$(CONFIG_ARMADA_THERMAL)	+= armada_thermal.oobj-$(CONFIG_IMX_THERMAL)	+= imx_thermal.oobj-$(CONFIG_IMX_SC_THERMAL)	+= imx_sc_thermal.oobj-$(CONFIG_IMX8MM_THERMAL)	+= imx8mm_thermal.oobj-$(CONFIG_IMX91_THERMAL)	+= imx91_thermal.oobj-$(CONFIG_MAX77620_THERMAL)	+= max77620_thermal.oobj-$(CONFIG_QORIQ_THERMAL)	+= qoriq_thermal.oobj-$(CONFIG_DA9062_THERMAL)	+= da9062-thermal.oobj-y				+= intel/obj-$(CONFIG_TI_SOC_THERMAL)	+= ti-soc-thermal/obj-y				+= st/obj-y				+= qcom/obj-y				+= tegra/obj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.oobj-y				+= mediatek/obj-$(CONFIG_GENERIC_ADC_THERMAL)	+= thermal-generic-adc.oobj-$(CONFIG_UNIPHIER_THERMAL)	+= uniphier_thermal.oobj-$(CONFIG_AMLOGIC_THERMAL)     += amlogic_thermal.oobj-y				+= spacemit/obj-$(CONFIG_SPRD_THERMAL)	+= sprd_thermal.oobj-$(CONFIG_KHADAS_MCU_FAN_THERMAL)	+= khadas_mcu_fan.oobj-$(CONFIG_LOONGSON2_THERMAL)	+= loongson2_thermal.oobj-$(CONFIG_THERMAL_CORE_TESTING)	+= testing/