All of lore.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@amd64.org>
To: Christoph Lameter <cl@linux.com>
Cc: Borislav Petkov <bp@amd64.org>, Ingo Molnar <mingo@elte.hu>,
	Arnaldo Carvalho de Melo <acme@infradead.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Pekka Enberg <penberg@kernel.org>
Subject: Re: [PATCH 2/2] tools: Add a toplevel Makefile
Date: Thu, 22 Mar 2012 22:04:31 +0100	[thread overview]
Message-ID: <20120322210431.GA1462@aftab> (raw)
In-Reply-To: <alpine.DEB.2.00.1203221332390.25011@router.home>

On Thu, Mar 22, 2012 at 01:33:18PM -0500, Christoph Lameter wrote:
> On Thu, 22 Mar 2012, Borislav Petkov wrote:
> 
> > index 000000000000..97631367e0db
> > --- /dev/null
> > +++ b/tools/Makefile
> > @@ -0,0 +1,24 @@
> > +include scripts/Makefile.lib
> > +
> > +perf firewire lguest slub usb virtio: FORCE
> > +	$(QUIET_SUBDIR0)$@/ $(QUIET_SUBDIR1)
> > +
> > +cpupower: FORCE
> > +	$(QUIET_SUBDIR0)power/$@/ $(QUIET_SUBDIR1)
> > +
> > +turbostat x86_energy_perf_policy: FORCE
> > +	$(QUIET_SUBDIR0)power/x86/$@/ $(QUIET_SUBDIR1)
> > +
> > +firewire_clean lguest_clean perf_clean slub_clean usb_clean virtio_clean:

						^^^----------------------------------------------
											    	|
> > +	$(QUIET_SUBDIR0)$(@:_clean=)/ $(QUIET_SUBDIR1) clean				    	|
> >												|
> > +												|
> > +cp_clean:											|
> > +	$(QUIET_SUBDIR0)power/cpupower/ $(QUIET_SUBDIR1) clean					|
> > +												|
> > +turbostat_clean x86_energy_perf_policy_clean:						|
> > +	$(QUIET_SUBDIR0)power/x86/$(@:_clean=)/ $(QUIET_SUBDIR1) clean				|
> > +												|
> > +clean: cp_clean firewire_clean lguest_clean perf_clean slub_clean turbostat_clean \	|
> 												|
> slub_clean? Where is that target defined?							|
												|
Here---------------------------------------------------------------------------------------------

:-).

It basically does:

$ make -C slub/ clean

which runs the target of the same name in the Makefile in slub/.

Thanks.

-- 
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551

  reply	other threads:[~2012-03-22 21:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 17:01 [PATCH 0/2] tools: Add a toplevel Makefile Borislav Petkov
2012-03-22 17:01 ` [PATCH 1/2] tools: Add Makefile.lib Borislav Petkov
2012-03-22 21:07   ` Sam Ravnborg
2012-03-22 21:15     ` Borislav Petkov
2012-03-22 17:01 ` [PATCH 2/2] tools: Add a toplevel Makefile Borislav Petkov
2012-03-22 18:33   ` Christoph Lameter
2012-03-22 21:04     ` Borislav Petkov [this message]
2012-03-22 21:47       ` Christoph Lameter
2012-03-26 10:27         ` Pekka Enberg
2012-03-29 12:33           ` 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=20120322210431.GA1462@aftab \
    --to=bp@amd64.org \
    --cc=acme@infradead.org \
    --cc=cl@linux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.