From: Sam Ravnborg <sam@ravnborg.org>
To: Borislav Petkov <bp@amd64.org>
Cc: Ingo Molnar <mingo@kernel.org>,
Arnaldo Carvalho de Melo <acme@infradead.org>,
Michal Marek <mmarek@suse.cz>,
LKML <linux-kernel@vger.kernel.org>,
Borislav Petkov <borislav.petkov@amd.com>
Subject: Re: [PATCH v4 3/4] tools: Add a help target
Date: Tue, 10 Apr 2012 22:34:44 +0200 [thread overview]
Message-ID: <20120410203444.GC28293@merkur.ravnborg.org> (raw)
In-Reply-To: <1334071240-28692-4-git-send-email-bp@amd64.org>
On Tue, Apr 10, 2012 at 05:20:39PM +0200, Borislav Petkov wrote:
> From: Borislav Petkov <borislav.petkov@amd.com>
>
> ... 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>
> ---
> tools/Makefile | 26 +++++++++++++++++++++++---
> 1 file changed, 23 insertions(+), 3 deletions(-)
>
> diff --git a/tools/Makefile b/tools/Makefile
> index e93b8ec3d250..c7ed814e12cf 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -1,5 +1,25 @@
> include scripts/Makefile.include
>
> +help:
> + @echo 'Possible targets:'
> + @echo ''
> + @echo ' cpupower - a tool for all things x86 CPU power'
> + @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
> + @echo ' lguest - a minimal 32-bit x86 hypervisor'
> + @echo ' perf - Linux performance measurement and analysis tool'
> + @echo ' selftests - various kernel selftests'
> + @echo ' turbostat - Intel CPU idle stats and freq reporting tool'
> + @echo ' usb - USB testing tools'
> + @echo ' virtio - vhost test module'
> + @echo ' vm - misc vm tools'
> + @echo ' x86_energy_perf_policy - Intel energy policy tool'
> + @echo ''
> + @echo 'Cleaning targets:'
> + @echo ''
> + @echo ' all of the above with the "_clean" string appended cleans'
> + @echo ' the respective build directory.'
> + @echo ' clean: a summary clean target to clean _all_ folders'
> +
> perf firewire lguest usb virtio vm: FORCE
> $(QUIET_SUBDIR0)$@/ $(QUIET_SUBDIR1)
>
> @@ -15,7 +35,7 @@ selftests: FORCE
> firewire_clean lguest_clean perf_clean vm_clean usb_clean virtio_clean:
> $(QUIET_SUBDIR0)$(@:_clean=)/ $(QUIET_SUBDIR1) clean
>
> -cp_clean:
> +cpupower_clean:
> $(QUIET_SUBDIR0)power/cpupower/ $(QUIET_SUBDIR1) clean
Fold this into 2/4
>
> turbostat_clean x86_energy_perf_policy_clean:
> @@ -24,8 +44,8 @@ turbostat_clean x86_energy_perf_policy_clean:
> selftests_clean:
> $(QUIET_SUBDIR0)testing/$(@:_clean=)/ $(QUIET_SUBDIR1) clean
>
> -clean: cp_clean firewire_clean lguest_clean perf_clean selftests_clean \
> - turbostat_clean usb_clean virtio_clean \
> +clean: cpupower_clean firewire_clean lguest_clean perf_clean \
> + selftests_clean turbostat_clean usb_clean virtio_clean \
> x86_energy_perf_policy_clean
Fold this into 2/4
Sam
next prev parent reply other threads:[~2012-04-10 20:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-10 15:20 [PATCH v4 0/4] tools: Add a toplevel Makefile Borislav Petkov
2012-04-10 15:20 ` [PATCH v4 1/4] tools: Add Makefile.include Borislav Petkov
2012-04-10 20:27 ` Sam Ravnborg
2012-04-10 20:58 ` Borislav Petkov
2012-04-10 15:20 ` [PATCH v4 2/4] tools: Add a toplevel Makefile Borislav Petkov
2012-04-10 20:33 ` Sam Ravnborg
2012-04-10 21:03 ` Borislav Petkov
2012-04-10 15:20 ` [PATCH v4 3/4] tools: Add a help target Borislav Petkov
2012-04-10 20:34 ` Sam Ravnborg [this message]
2012-04-10 15:20 ` [PATCH v4 4/4] tools: Connect to the kernel build system Borislav Petkov
2012-04-10 20:37 ` Sam Ravnborg
2012-04-10 21:04 ` Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120410203444.GC28293@merkur.ravnborg.org \
--to=sam@ravnborg.org \
--cc=acme@infradead.org \
--cc=borislav.petkov@amd.com \
--cc=bp@amd64.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®