Skip to content

Commit d5dd8af

Browse files
Borislav Petkovacmel
authored andcommitted
tools: Add a help target
... and make it the default one so that calling 'make' without arguments in the tools/ directory gives you the possible targets to build along with a short description of what they are. Signed-off-by: Borislav Petkov <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Michal Marek <[email protected]> Cc: Sam Ravnborg <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 2363ecb commit d5dd8af

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tools/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
include scripts/Makefile.include
22

3+
help:
4+
@echo 'Possible targets:'
5+
@echo ''
6+
@echo ' cpupower - a tool for all things x86 CPU power'
7+
@echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
8+
@echo ' lguest - a minimal 32-bit x86 hypervisor'
9+
@echo ' perf - Linux performance measurement and analysis tool'
10+
@echo ' selftests - various kernel selftests'
11+
@echo ' turbostat - Intel CPU idle stats and freq reporting tool'
12+
@echo ' usb - USB testing tools'
13+
@echo ' virtio - vhost test module'
14+
@echo ' vm - misc vm tools'
15+
@echo ' x86_energy_perf_policy - Intel energy policy tool'
16+
@echo ''
17+
@echo 'Cleaning targets:'
18+
@echo ''
19+
@echo ' all of the above with the "_clean" string appended cleans'
20+
@echo ' the respective build directory.'
21+
@echo ' clean: a summary clean target to clean _all_ folders'
22+
323
cpupower: FORCE
424
$(QUIET_SUBDIR0)power/$@/ $(QUIET_SUBDIR1)
525

0 commit comments

Comments
 (0)