tools/thermal: Add thermal daemon skeleton
[linux-2.6-block.git] / tools / Makefile
index 78615f8cb463b3959760b84e49ae45b598b1988b..b71cf39d3c080415397a7a1613c61e1d809a4b62 100644 (file)
@@ -32,6 +32,7 @@ help:
        @echo '  spi                    - spi tools'
        @echo '  tmon                   - thermal monitoring and tuning tool'
        @echo '  thermometer            - temperature capture tool'
+       @echo '  thermal-engine         - thermal monitoring tool'
        @echo '  thermal                - thermal library'
        @echo '  tracing                - misc tracing tools'
        @echo '  turbostat              - Intel CPU idle stats and freq reporting tool'
@@ -99,6 +100,9 @@ tmon: FORCE
 thermometer: FORCE
        $(call descend,thermal/$@)
 
+thermal-engine: FORCE thermal
+       $(call descend,thermal/$@)
+
 freefall: FORCE
        $(call descend,laptop/$@)
 
@@ -109,7 +113,7 @@ all: acpi cgroup counter cpupower gpio hv firewire \
                perf selftests bootconfig spi turbostat usb \
                virtio vm bpf x86_energy_perf_policy \
                tmon freefall iio objtool kvm_stat wmi \
-               pci debugging tracing thermal thermometer
+               pci debugging tracing thermal thermometer thermal-engine
 
 acpi_install:
        $(call descend,power/$(@:_install=),install)
@@ -135,6 +139,9 @@ tmon_install:
 thermometer_install:
        $(call descend,thermal/$(@:_install=),install)
 
+thermal-engine_install:
+       $(call descend,thermal/$(@:_install=),install)
+
 freefall_install:
        $(call descend,laptop/$(@:_install=),install)
 
@@ -147,7 +154,7 @@ install: acpi_install cgroup_install counter_install cpupower_install gpio_insta
                virtio_install vm_install bpf_install x86_energy_perf_policy_install \
                tmon_install freefall_install objtool_install kvm_stat_install \
                wmi_install pci_install debugging_install intel-speed-select_install \
-               tracing_install thermometer_install
+               tracing_install thermometer_install thermal-engine_install
 
 acpi_clean:
        $(call descend,power/acpi,clean)
@@ -183,6 +190,9 @@ turbostat_clean x86_energy_perf_policy_clean intel-speed-select_clean:
 thermometer_clean:
        $(call descend,thermal/thermometer,clean)
 
+thermal-engine_clean:
+       $(call descend,thermal/thermal-engine,clean)
+
 tmon_clean:
        $(call descend,thermal/tmon,clean)
 
@@ -197,6 +207,6 @@ clean: acpi_clean cgroup_clean counter_clean cpupower_clean hv_clean firewire_cl
                vm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
                freefall_clean build_clean libbpf_clean libsubcmd_clean \
                gpio_clean objtool_clean leds_clean wmi_clean pci_clean firmware_clean debugging_clean \
-               intel-speed-select_clean tracing_clean thermal_clean thermometer_clean
+               intel-speed-select_clean tracing_clean thermal_clean thermometer_clean thermal-engine_clean
 
 .PHONY: FORCE