Re: [PATCH 2/2] tools: Add a toplevel Makefile

From: Christoph Lameter
Date: Thu Mar 22 2012 - 14:34:33 EST


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?

> diff --git a/tools/slub/Makefile b/tools/slub/Makefile
> new file mode 100644
> index 000000000000..b2cf6b467bbe
> --- /dev/null
> +++ b/tools/slub/Makefile
> @@ -0,0 +1,4 @@
> +slabinfo: slabinfo.c
> +
> +clean:
> + rm -rf slabinfo

That portion looks okay.

--
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/