Makefile (06cd3d8c14bdd06f49f1c6a06acf219749c5598e) Makefile (f9bc9e65fbec1781f64effc6bcc3b6edc57f8d19)
1# Some of the tools (perf) use same make variables
2# as in kernel build.
3export srctree=
4export objtree=
5
6include scripts/Makefile.include
7
8help:
9 @echo 'Possible targets:'
10 @echo ''
11 @echo ' acpi - ACPI tools'
12 @echo ' cgroup - cgroup tools'
13 @echo ' cpupower - a tool for all things x86 CPU power'
14 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
15 @echo ' freefall - laptop accelerometer program for disk protection'
16 @echo ' gpio - GPIO tools'
17 @echo ' hv - tools used when in Hyper-V clients'
18 @echo ' iio - IIO tools'
1# Some of the tools (perf) use same make variables
2# as in kernel build.
3export srctree=
4export objtree=
5
6include scripts/Makefile.include
7
8help:
9 @echo 'Possible targets:'
10 @echo ''
11 @echo ' acpi - ACPI tools'
12 @echo ' cgroup - cgroup tools'
13 @echo ' cpupower - a tool for all things x86 CPU power'
14 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
15 @echo ' freefall - laptop accelerometer program for disk protection'
16 @echo ' gpio - GPIO tools'
17 @echo ' hv - tools used when in Hyper-V clients'
18 @echo ' iio - IIO tools'
19 @echo ' kvm_stat - top-like utility for displaying kvm statistics'
19 @echo ' lguest - a minimal 32-bit x86 hypervisor'
20 @echo ' net - misc networking tools'
21 @echo ' perf - Linux performance measurement and analysis tool'
22 @echo ' selftests - various kernel selftests'
23 @echo ' spi - spi tools'
24 @echo ' objtool - an ELF object analysis tool'
25 @echo ' tmon - thermal monitoring and tuning tool'
26 @echo ' turbostat - Intel CPU idle stats and freq reporting tool'

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

105 $(call descend,power/x86/$(@:_install=),install)
106
107tmon_install:
108 $(call descend,thermal/$(@:_install=),install)
109
110freefall_install:
111 $(call descend,laptop/$(@:_install=),install)
112
20 @echo ' lguest - a minimal 32-bit x86 hypervisor'
21 @echo ' net - misc networking tools'
22 @echo ' perf - Linux performance measurement and analysis tool'
23 @echo ' selftests - various kernel selftests'
24 @echo ' spi - spi tools'
25 @echo ' objtool - an ELF object analysis tool'
26 @echo ' tmon - thermal monitoring and tuning tool'
27 @echo ' turbostat - Intel CPU idle stats and freq reporting tool'

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

106 $(call descend,power/x86/$(@:_install=),install)
107
108tmon_install:
109 $(call descend,thermal/$(@:_install=),install)
110
111freefall_install:
112 $(call descend,laptop/$(@:_install=),install)
113
114kvm_stat_install:
115 $(call descend,kvm/$(@:_install=),install)
116
113install: acpi_install cgroup_install cpupower_install hv_install firewire_install lguest_install \
114 perf_install selftests_install turbostat_install usb_install \
115 virtio_install vm_install net_install x86_energy_perf_policy_install \
117install: acpi_install cgroup_install cpupower_install hv_install firewire_install lguest_install \
118 perf_install selftests_install turbostat_install usb_install \
119 virtio_install vm_install net_install x86_energy_perf_policy_install \
116 tmon_install freefall_install objtool_install
120 tmon_install freefall_install objtool_install kvm_stat_install
117
118acpi_clean:
119 $(call descend,power/acpi,clean)
120
121cpupower_clean:
122 $(call descend,power/cpupower,clean)
123
124cgroup_clean hv_clean firewire_clean lguest_clean spi_clean usb_clean virtio_clean vm_clean net_clean iio_clean gpio_clean objtool_clean:

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

132
133libbpf_clean:
134 $(call descend,lib/bpf,clean)
135
136libsubcmd_clean:
137 $(call descend,lib/subcmd,clean)
138
139perf_clean:
121
122acpi_clean:
123 $(call descend,power/acpi,clean)
124
125cpupower_clean:
126 $(call descend,power/cpupower,clean)
127
128cgroup_clean hv_clean firewire_clean lguest_clean spi_clean usb_clean virtio_clean vm_clean net_clean iio_clean gpio_clean objtool_clean:

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

136
137libbpf_clean:
138 $(call descend,lib/bpf,clean)
139
140libsubcmd_clean:
141 $(call descend,lib/subcmd,clean)
142
143perf_clean:
140 $(Q)mkdir -p $(PERF_O) .
141 $(Q)$(MAKE) --no-print-directory -C perf O=$(PERF_O) subdir= clean
144 $(call descend,$(@:_clean=),clean)
142
143selftests_clean:
144 $(call descend,testing/$(@:_clean=),clean)
145
146turbostat_clean x86_energy_perf_policy_clean:
147 $(call descend,power/x86/$(@:_clean=),clean)
148
149tmon_clean:

--- 15 unchanged lines hidden ---
145
146selftests_clean:
147 $(call descend,testing/$(@:_clean=),clean)
148
149turbostat_clean x86_energy_perf_policy_clean:
150 $(call descend,power/x86/$(@:_clean=),clean)
151
152tmon_clean:

--- 15 unchanged lines hidden ---