Makefile (110acbc6a4518145db3a1a9c0686d730bb258bf1) Makefile (077df623c8344e4b50a7ba6c433f9d6857a94d6b)
1# SPDX-License-Identifier: GPL-2.0
2# Some of the tools (perf) use same make variables
3# as in kernel build.
4export srctree=
5export objtree=
6
7include scripts/Makefile.include
8

--- 18 unchanged lines hidden (view full) ---

27 @echo ' objtool - an ELF object analysis tool'
28 @echo ' pci - PCI tools'
29 @echo ' perf - Linux performance measurement and analysis tool'
30 @echo ' selftests - various kernel selftests'
31 @echo ' bootconfig - boot config tool'
32 @echo ' spi - spi tools'
33 @echo ' tmon - thermal monitoring and tuning tool'
34 @echo ' thermometer - temperature capture tool'
1# SPDX-License-Identifier: GPL-2.0
2# Some of the tools (perf) use same make variables
3# as in kernel build.
4export srctree=
5export objtree=
6
7include scripts/Makefile.include
8

--- 18 unchanged lines hidden (view full) ---

27 @echo ' objtool - an ELF object analysis tool'
28 @echo ' pci - PCI tools'
29 @echo ' perf - Linux performance measurement and analysis tool'
30 @echo ' selftests - various kernel selftests'
31 @echo ' bootconfig - boot config tool'
32 @echo ' spi - spi tools'
33 @echo ' tmon - thermal monitoring and tuning tool'
34 @echo ' thermometer - temperature capture tool'
35 @echo ' thermal-engine - thermal monitoring tool'
35 @echo ' thermal - thermal library'
36 @echo ' tracing - misc tracing tools'
37 @echo ' turbostat - Intel CPU idle stats and freq reporting tool'
38 @echo ' usb - USB testing tools'
39 @echo ' virtio - vhost test module'
40 @echo ' vm - misc vm tools'
41 @echo ' wmi - WMI interface examples'
42 @echo ' x86_energy_perf_policy - Intel energy policy tool'

--- 51 unchanged lines hidden (view full) ---

94 $(call descend,power/x86/$@)
95
96tmon: FORCE
97 $(call descend,thermal/$@)
98
99thermometer: FORCE
100 $(call descend,thermal/$@)
101
36 @echo ' thermal - thermal library'
37 @echo ' tracing - misc tracing tools'
38 @echo ' turbostat - Intel CPU idle stats and freq reporting tool'
39 @echo ' usb - USB testing tools'
40 @echo ' virtio - vhost test module'
41 @echo ' vm - misc vm tools'
42 @echo ' wmi - WMI interface examples'
43 @echo ' x86_energy_perf_policy - Intel energy policy tool'

--- 51 unchanged lines hidden (view full) ---

95 $(call descend,power/x86/$@)
96
97tmon: FORCE
98 $(call descend,thermal/$@)
99
100thermometer: FORCE
101 $(call descend,thermal/$@)
102
103thermal-engine: FORCE thermal
104 $(call descend,thermal/$@)
105
102freefall: FORCE
103 $(call descend,laptop/$@)
104
105kvm_stat: FORCE
106 $(call descend,kvm/$@)
107
108all: acpi cgroup counter cpupower gpio hv firewire \
109 perf selftests bootconfig spi turbostat usb \
110 virtio vm bpf x86_energy_perf_policy \
111 tmon freefall iio objtool kvm_stat wmi \
106freefall: FORCE
107 $(call descend,laptop/$@)
108
109kvm_stat: FORCE
110 $(call descend,kvm/$@)
111
112all: acpi cgroup counter cpupower gpio hv firewire \
113 perf selftests bootconfig spi turbostat usb \
114 virtio vm bpf x86_energy_perf_policy \
115 tmon freefall iio objtool kvm_stat wmi \
112 pci debugging tracing thermal thermometer
116 pci debugging tracing thermal thermometer thermal-engine
113
114acpi_install:
115 $(call descend,power/$(@:_install=),install)
116
117cpupower_install:
118 $(call descend,power/$(@:_install=),install)
119
120cgroup_install counter_install firewire_install gpio_install hv_install iio_install perf_install bootconfig_install spi_install usb_install virtio_install vm_install bpf_install objtool_install wmi_install pci_install debugging_install tracing_install:

--- 9 unchanged lines hidden (view full) ---

130 $(call descend,power/x86/$(@:_install=),install)
131
132tmon_install:
133 $(call descend,thermal/$(@:_install=),install)
134
135thermometer_install:
136 $(call descend,thermal/$(@:_install=),install)
137
117
118acpi_install:
119 $(call descend,power/$(@:_install=),install)
120
121cpupower_install:
122 $(call descend,power/$(@:_install=),install)
123
124cgroup_install counter_install firewire_install gpio_install hv_install iio_install perf_install bootconfig_install spi_install usb_install virtio_install vm_install bpf_install objtool_install wmi_install pci_install debugging_install tracing_install:

--- 9 unchanged lines hidden (view full) ---

134 $(call descend,power/x86/$(@:_install=),install)
135
136tmon_install:
137 $(call descend,thermal/$(@:_install=),install)
138
139thermometer_install:
140 $(call descend,thermal/$(@:_install=),install)
141
142thermal-engine_install:
143 $(call descend,thermal/$(@:_install=),install)
144
138freefall_install:
139 $(call descend,laptop/$(@:_install=),install)
140
141kvm_stat_install:
142 $(call descend,kvm/$(@:_install=),install)
143
144install: acpi_install cgroup_install counter_install cpupower_install gpio_install \
145 hv_install firewire_install iio_install \
146 perf_install selftests_install turbostat_install usb_install \
147 virtio_install vm_install bpf_install x86_energy_perf_policy_install \
148 tmon_install freefall_install objtool_install kvm_stat_install \
149 wmi_install pci_install debugging_install intel-speed-select_install \
145freefall_install:
146 $(call descend,laptop/$(@:_install=),install)
147
148kvm_stat_install:
149 $(call descend,kvm/$(@:_install=),install)
150
151install: acpi_install cgroup_install counter_install cpupower_install gpio_install \
152 hv_install firewire_install iio_install \
153 perf_install selftests_install turbostat_install usb_install \
154 virtio_install vm_install bpf_install x86_energy_perf_policy_install \
155 tmon_install freefall_install objtool_install kvm_stat_install \
156 wmi_install pci_install debugging_install intel-speed-select_install \
150 tracing_install thermometer_install
157 tracing_install thermometer_install thermal-engine_install
151
152acpi_clean:
153 $(call descend,power/acpi,clean)
154
155cpupower_clean:
156 $(call descend,power/cpupower,clean)
157
158cgroup_clean counter_clean hv_clean firewire_clean bootconfig_clean spi_clean usb_clean virtio_clean vm_clean wmi_clean bpf_clean iio_clean gpio_clean objtool_clean leds_clean pci_clean firmware_clean debugging_clean tracing_clean:

--- 19 unchanged lines hidden (view full) ---

178 $(call descend,lib/thermal,clean)
179
180turbostat_clean x86_energy_perf_policy_clean intel-speed-select_clean:
181 $(call descend,power/x86/$(@:_clean=),clean)
182
183thermometer_clean:
184 $(call descend,thermal/thermometer,clean)
185
158
159acpi_clean:
160 $(call descend,power/acpi,clean)
161
162cpupower_clean:
163 $(call descend,power/cpupower,clean)
164
165cgroup_clean counter_clean hv_clean firewire_clean bootconfig_clean spi_clean usb_clean virtio_clean vm_clean wmi_clean bpf_clean iio_clean gpio_clean objtool_clean leds_clean pci_clean firmware_clean debugging_clean tracing_clean:

--- 19 unchanged lines hidden (view full) ---

185 $(call descend,lib/thermal,clean)
186
187turbostat_clean x86_energy_perf_policy_clean intel-speed-select_clean:
188 $(call descend,power/x86/$(@:_clean=),clean)
189
190thermometer_clean:
191 $(call descend,thermal/thermometer,clean)
192
193thermal-engine_clean:
194 $(call descend,thermal/thermal-engine,clean)
195
186tmon_clean:
187 $(call descend,thermal/tmon,clean)
188
189freefall_clean:
190 $(call descend,laptop/freefall,clean)
191
192build_clean:
193 $(call descend,build,clean)
194
195clean: acpi_clean cgroup_clean counter_clean cpupower_clean hv_clean firewire_clean \
196 perf_clean selftests_clean turbostat_clean bootconfig_clean spi_clean usb_clean virtio_clean \
197 vm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
198 freefall_clean build_clean libbpf_clean libsubcmd_clean \
199 gpio_clean objtool_clean leds_clean wmi_clean pci_clean firmware_clean debugging_clean \
196tmon_clean:
197 $(call descend,thermal/tmon,clean)
198
199freefall_clean:
200 $(call descend,laptop/freefall,clean)
201
202build_clean:
203 $(call descend,build,clean)
204
205clean: acpi_clean cgroup_clean counter_clean cpupower_clean hv_clean firewire_clean \
206 perf_clean selftests_clean turbostat_clean bootconfig_clean spi_clean usb_clean virtio_clean \
207 vm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
208 freefall_clean build_clean libbpf_clean libsubcmd_clean \
209 gpio_clean objtool_clean leds_clean wmi_clean pci_clean firmware_clean debugging_clean \
200 intel-speed-select_clean tracing_clean thermal_clean thermometer_clean
210 intel-speed-select_clean tracing_clean thermal_clean thermometer_clean thermal-engine_clean
201
202.PHONY: FORCE
211
212.PHONY: FORCE