Re: [PATCH 2/2] tools: Add a toplevel Makefile
From: Borislav Petkov
Date: Thu Mar 22 2012 - 17:04:35 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/