From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755660Ab2DMSTa (ORCPT ); Fri, 13 Apr 2012 14:19:30 -0400 Received: from terminus.zytor.com ([198.137.202.10]:51706 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753311Ab2DMST2 (ORCPT ); Fri, 13 Apr 2012 14:19:28 -0400 Date: Fri, 13 Apr 2012 11:17:12 -0700 From: tip-bot for Borislav Petkov Message-ID: Cc: acme@redhat.com, linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org, sam@ravnborg.org, mmarek@suse.cz, tglx@linutronix.de, borislav.petkov@amd.com Reply-To: mingo@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, acme@redhat.com, sam@ravnborg.org, tglx@linutronix.de, mmarek@suse.cz, borislav.petkov@amd.com In-Reply-To: <1334162178-17152-5-git-send-email-bp@amd64.org> References: <1334162178-17152-5-git-send-email-bp@amd64.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] tools: Add a help target Git-Commit-ID: d5dd8afb569cdf89bd2b322d10f80a23bd3d2cfd X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (terminus.zytor.com [127.0.0.1]); Fri, 13 Apr 2012 11:17:17 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: d5dd8afb569cdf89bd2b322d10f80a23bd3d2cfd Gitweb: http://git.kernel.org/tip/d5dd8afb569cdf89bd2b322d10f80a23bd3d2cfd Author: Borislav Petkov AuthorDate: Wed, 11 Apr 2012 18:36:17 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 Apr 2012 14:59:00 -0300 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 Cc: Ingo Molnar Cc: Michal Marek Cc: Sam Ravnborg Link: http://lkml.kernel.org/r/1334162178-17152-5-git-send-email-bp@amd64.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/Makefile | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index feadfdd..f87c0ec 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' + cpupower: FORCE $(QUIET_SUBDIR0)power/$@/ $(QUIET_SUBDIR1)