Makefile (03e075b38e6cd25267c8d6e2797fa4537ca3348d) Makefile (6d591c46bce037696d173bd5c8461b2b4bb680ad)
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'
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'
16 @echo ' hv - tools used when in Hyper-V clients'
17 @echo ' iio - IIO tools'
18 @echo ' lguest - a minimal 32-bit x86 hypervisor'
19 @echo ' net - misc networking tools'
20 @echo ' perf - Linux performance measurement and analysis tool'
21 @echo ' selftests - various kernel selftests'
22 @echo ' spi - spi tools'
23 @echo ' tmon - thermal monitoring and tuning tool'

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

48 @echo ' clean: a summary clean target to clean _all_ folders'
49
50acpi: FORCE
51 $(call descend,power/$@)
52
53cpupower: FORCE
54 $(call descend,power/$@)
55
17 @echo ' hv - tools used when in Hyper-V clients'
18 @echo ' iio - IIO tools'
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 ' tmon - thermal monitoring and tuning tool'

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

49 @echo ' clean: a summary clean target to clean _all_ folders'
50
51acpi: FORCE
52 $(call descend,power/$@)
53
54cpupower: FORCE
55 $(call descend,power/$@)
56
56cgroup firewire hv guest spi usb virtio vm net iio: FORCE
57cgroup firewire hv guest spi usb virtio vm net iio gpio: FORCE
57 $(call descend,$@)
58
59liblockdep: FORCE
60 $(call descend,lib/lockdep)
61
62libapi: FORCE
63 $(call descend,lib/api)
64

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

114 tmon_install freefall_install
115
116acpi_clean:
117 $(call descend,power/acpi,clean)
118
119cpupower_clean:
120 $(call descend,power/cpupower,clean)
121
58 $(call descend,$@)
59
60liblockdep: FORCE
61 $(call descend,lib/lockdep)
62
63libapi: FORCE
64 $(call descend,lib/api)
65

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

115 tmon_install freefall_install
116
117acpi_clean:
118 $(call descend,power/acpi,clean)
119
120cpupower_clean:
121 $(call descend,power/cpupower,clean)
122
122cgroup_clean hv_clean firewire_clean lguest_clean spi_clean usb_clean virtio_clean vm_clean net_clean iio_clean:
123cgroup_clean hv_clean firewire_clean lguest_clean spi_clean usb_clean virtio_clean vm_clean net_clean iio_clean gpio_clean:
123 $(call descend,$(@:_clean=),clean)
124
125liblockdep_clean:
126 $(call descend,lib/lockdep,clean)
127
128libapi_clean:
129 $(call descend,lib/api,clean)
130

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

150 $(call descend,laptop/freefall,clean)
151
152build_clean:
153 $(call descend,build,clean)
154
155clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean lguest_clean \
156 perf_clean selftests_clean turbostat_clean spi_clean usb_clean virtio_clean \
157 vm_clean net_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
124 $(call descend,$(@:_clean=),clean)
125
126liblockdep_clean:
127 $(call descend,lib/lockdep,clean)
128
129libapi_clean:
130 $(call descend,lib/api,clean)
131

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

151 $(call descend,laptop/freefall,clean)
152
153build_clean:
154 $(call descend,build,clean)
155
156clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean lguest_clean \
157 perf_clean selftests_clean turbostat_clean spi_clean usb_clean virtio_clean \
158 vm_clean net_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
158 freefall_clean build_clean libbpf_clean libsubcmd_clean liblockdep_clean
159 freefall_clean build_clean libbpf_clean libsubcmd_clean liblockdep_clean \
160 gpio_clean
159
160.PHONY: FORCE
161
162.PHONY: FORCE