Makefile 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # Makefile for sensor chip drivers.
  3. #
  4. obj-$(CONFIG_THERMAL) += thermal_sys.o
  5. thermal_sys-y += thermal_core.o
  6. # interface to/from other layers providing sensors
  7. thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
  8. thermal_sys-$(CONFIG_THERMAL_OF) += of-thermal.o
  9. # governors
  10. thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += fair_share.o
  11. thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
  12. thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += step_wise.o
  13. thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += user_space.o
  14. thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += power_allocator.o
  15. # cpufreq cooling
  16. thermal_sys-$(CONFIG_CPU_THERMAL) += cpu_cooling.o
  17. # clock cooling
  18. thermal_sys-$(CONFIG_CLOCK_THERMAL) += clock_cooling.o
  19. # devfreq cooling
  20. thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
  21. # platform thermal drivers
  22. obj-$(CONFIG_QCOM_SPMI_TEMP_ALARM) += qcom-spmi-temp-alarm.o
  23. obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o
  24. obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o
  25. obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o
  26. obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
  27. obj-y += samsung/
  28. obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
  29. obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
  30. obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
  31. obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o
  32. obj-$(CONFIG_DB8500_CPUFREQ_COOLING) += db8500_cpufreq_cooling.o
  33. obj-$(CONFIG_INTEL_POWERCLAMP) += intel_powerclamp.o
  34. obj-$(CONFIG_X86_PKG_TEMP_THERMAL) += x86_pkg_temp_thermal.o
  35. obj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE) += intel_soc_dts_iosf.o
  36. obj-$(CONFIG_INTEL_SOC_DTS_THERMAL) += intel_soc_dts_thermal.o
  37. obj-$(CONFIG_INTEL_QUARK_DTS_THERMAL) += intel_quark_dts_thermal.o
  38. obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/
  39. obj-$(CONFIG_INT340X_THERMAL) += int340x_thermal/
  40. obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
  41. obj-$(CONFIG_ST_THERMAL) += st/
  42. obj-$(CONFIG_TEGRA_SOCTHERM) += tegra_soctherm.o
  43. obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o