diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2012-04-11 12:36:17 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-04-11 13:59:00 -0400 |
commit | d5dd8afb569cdf89bd2b322d10f80a23bd3d2cfd (patch) | |
tree | 064f80884bee986c4f63a5d4b2b176a5fabfd4f0 /tools/Makefile | |
parent | 2363ecb17041d711fa2b3fb1b1ea2ebc47a0f974 (diff) |
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 <borislav.petkov@amd.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Sam Ravnborg <sam@ravnborg.org>
Link: http://lkml.kernel.org/r/1334162178-17152-5-git-send-email-bp@amd64.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile index feadfdd6da55..f87c0ec63e6c 100644 --- a/tools/Makefile +++ b/tools/Makefile | |||
@@ -1,5 +1,25 @@ | |||
1 | include scripts/Makefile.include | 1 | include scripts/Makefile.include |
2 | 2 | ||
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 | |||
3 | cpupower: FORCE | 23 | cpupower: FORCE |
4 | $(QUIET_SUBDIR0)power/$@/ $(QUIET_SUBDIR1) | 24 | $(QUIET_SUBDIR0)power/$@/ $(QUIET_SUBDIR1) |
5 | 25 | ||