lkml.org 
[lkml]   [2012]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] tools: Add a toplevel Makefile
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


\
 
 \ /
  Last update: 2012-03-22 22:07    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site