hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/Makefile
....@@ -10,21 +10,26 @@
1010 @echo 'Possible targets:'
1111 @echo ''
1212 @echo ' acpi - ACPI tools'
13
+ @echo ' bpf - misc BPF tools'
1314 @echo ' cgroup - cgroup tools'
1415 @echo ' cpupower - a tool for all things x86 CPU power'
16
+ @echo ' debugging - tools for debugging'
1517 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
18
+ @echo ' firmware - Firmware tools'
1619 @echo ' freefall - laptop accelerometer program for disk protection'
1720 @echo ' gpio - GPIO tools'
1821 @echo ' hv - tools used when in Hyper-V clients'
1922 @echo ' iio - IIO tools'
23
+ @echo ' intel-speed-select - Intel Speed Select tool'
2024 @echo ' kvm_stat - top-like utility for displaying kvm statistics'
2125 @echo ' leds - LEDs tools'
2226 @echo ' liblockdep - user-space wrapper for kernel locking-validator'
23
- @echo ' bpf - misc BPF tools'
27
+ @echo ' objtool - an ELF object analysis tool'
28
+ @echo ' pci - PCI tools'
2429 @echo ' perf - Linux performance measurement and analysis tool'
2530 @echo ' selftests - various kernel selftests'
31
+ @echo ' bootconfig - boot config tool'
2632 @echo ' spi - spi tools'
27
- @echo ' objtool - an ELF object analysis tool'
2833 @echo ' tmon - thermal monitoring and tuning tool'
2934 @echo ' turbostat - Intel CPU idle stats and freq reporting tool'
3035 @echo ' usb - USB testing tools'
....@@ -59,7 +64,10 @@
5964 cpupower: FORCE
6065 $(call descend,power/$@)
6166
62
-cgroup firewire hv guest spi usb virtio vm bpf iio gpio objtool leds wmi: FORCE
67
+cgroup firewire hv guest bootconfig spi usb virtio vm bpf iio gpio objtool leds wmi pci firmware debugging: FORCE
68
+ $(call descend,$@)
69
+
70
+bpf/%: FORCE
6371 $(call descend,$@)
6472
6573 liblockdep: FORCE
....@@ -79,7 +87,7 @@
7987 selftests: FORCE
8088 $(call descend,testing/$@)
8189
82
-turbostat x86_energy_perf_policy: FORCE
90
+turbostat x86_energy_perf_policy intel-speed-select: FORCE
8391 $(call descend,power/x86/$@)
8492
8593 tmon: FORCE
....@@ -92,9 +100,10 @@
92100 $(call descend,kvm/$@)
93101
94102 all: acpi cgroup cpupower gpio hv firewire liblockdep \
95
- perf selftests spi turbostat usb \
103
+ perf selftests bootconfig spi turbostat usb \
96104 virtio vm bpf x86_energy_perf_policy \
97
- tmon freefall iio objtool kvm_stat wmi
105
+ tmon freefall iio objtool kvm_stat wmi \
106
+ pci debugging
98107
99108 acpi_install:
100109 $(call descend,power/$(@:_install=),install)
....@@ -102,7 +111,7 @@
102111 cpupower_install:
103112 $(call descend,power/$(@:_install=),install)
104113
105
-cgroup_install firewire_install gpio_install hv_install iio_install perf_install spi_install usb_install virtio_install vm_install bpf_install objtool_install wmi_install:
114
+cgroup_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:
106115 $(call descend,$(@:_install=),install)
107116
108117 liblockdep_install:
....@@ -111,7 +120,7 @@
111120 selftests_install:
112121 $(call descend,testing/$(@:_install=),install)
113122
114
-turbostat_install x86_energy_perf_policy_install:
123
+turbostat_install x86_energy_perf_policy_install intel-speed-select_install:
115124 $(call descend,power/x86/$(@:_install=),install)
116125
117126 tmon_install:
....@@ -128,7 +137,7 @@
128137 perf_install selftests_install turbostat_install usb_install \
129138 virtio_install vm_install bpf_install x86_energy_perf_policy_install \
130139 tmon_install freefall_install objtool_install kvm_stat_install \
131
- wmi_install
140
+ wmi_install pci_install debugging_install intel-speed-select_install
132141
133142 acpi_clean:
134143 $(call descend,power/acpi,clean)
....@@ -136,7 +145,7 @@
136145 cpupower_clean:
137146 $(call descend,power/cpupower,clean)
138147
139
-cgroup_clean hv_clean firewire_clean spi_clean usb_clean virtio_clean vm_clean wmi_clean bpf_clean iio_clean gpio_clean objtool_clean leds_clean:
148
+cgroup_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:
140149 $(call descend,$(@:_clean=),clean)
141150
142151 liblockdep_clean:
....@@ -158,7 +167,7 @@
158167 selftests_clean:
159168 $(call descend,testing/$(@:_clean=),clean)
160169
161
-turbostat_clean x86_energy_perf_policy_clean:
170
+turbostat_clean x86_energy_perf_policy_clean intel-speed-select_clean:
162171 $(call descend,power/x86/$(@:_clean=),clean)
163172
164173 tmon_clean:
....@@ -171,9 +180,10 @@
171180 $(call descend,build,clean)
172181
173182 clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean \
174
- perf_clean selftests_clean turbostat_clean spi_clean usb_clean virtio_clean \
183
+ perf_clean selftests_clean turbostat_clean bootconfig_clean spi_clean usb_clean virtio_clean \
175184 vm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
176185 freefall_clean build_clean libbpf_clean libsubcmd_clean liblockdep_clean \
177
- gpio_clean objtool_clean leds_clean wmi_clean
186
+ gpio_clean objtool_clean leds_clean wmi_clean pci_clean firmware_clean debugging_clean \
187
+ intel-speed-select_clean
178188
179189 .PHONY: FORCE