tools/lib/thermal: Add a thermal library
[linux-2.6-block.git] / tools / Makefile
index db2f7b8ebed59a0d067c48e5dc19f3ac9927d9e2..c253cbd27c06a548f3cdde5747528449748e354a 100644 (file)
@@ -31,6 +31,7 @@ help:
        @echo '  bootconfig             - boot config tool'
        @echo '  spi                    - spi tools'
        @echo '  tmon                   - thermal monitoring and tuning tool'
+       @echo '  thermal                - thermal library'
        @echo '  tracing                - misc tracing tools'
        @echo '  turbostat              - Intel CPU idle stats and freq reporting tool'
        @echo '  usb                    - USB testing tools'
@@ -85,6 +86,9 @@ perf: FORCE
 selftests: FORCE
        $(call descend,testing/$@)
 
+thermal: FORCE
+       $(call descend,lib/$@)
+
 turbostat x86_energy_perf_policy intel-speed-select: FORCE
        $(call descend,power/x86/$@)
 
@@ -101,7 +105,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
+               pci debugging tracing thermal
 
 acpi_install:
        $(call descend,power/$(@:_install=),install)
@@ -115,6 +119,9 @@ cgroup_install counter_install firewire_install gpio_install hv_install iio_inst
 selftests_install:
        $(call descend,testing/$(@:_install=),install)
 
+thermal_install:
+       $(call descend,lib/$(@:_install=),install)
+
 turbostat_install x86_energy_perf_policy_install intel-speed-select_install:
        $(call descend,power/x86/$(@:_install=),install)
 
@@ -160,6 +167,9 @@ perf_clean:
 selftests_clean:
        $(call descend,testing/$(@:_clean=),clean)
 
+thermal_clean:
+       $(call descend,lib/thermal,clean)
+
 turbostat_clean x86_energy_perf_policy_clean intel-speed-select_clean:
        $(call descend,power/x86/$(@:_clean=),clean)
 
@@ -177,6 +187,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
+               intel-speed-select_clean tracing_clean thermal_clean
 
 .PHONY: FORCE