diff options
author | Jiri Olsa <jolsa@kernel.org> | 2016-01-11 05:54:48 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-01-11 10:07:38 -0500 |
commit | 2f5a7f1d13df94b753794b69cc4c920f8bfb2128 (patch) | |
tree | 81f832c84dc49a8363dec5c295047c6f73bc6291 /tools/Makefile | |
parent | 3eb9ede23bdd96e9ba60e2b4d4d17a7c35d58448 (diff) |
tools: Add clean targets for tools directory
Adding missing clean targets for following tools directories:
lib/bpf
lib/subcmd
build
This are now cleaned via 'make -C tools clean' command.
Reported-and-Tested-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1452509693-13452-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile index 0ba0df3b516f..4e8e10755e0d 100644 --- a/tools/Makefile +++ b/tools/Makefile | |||
@@ -127,6 +127,12 @@ liblockdep_clean: | |||
127 | libapi_clean: | 127 | libapi_clean: |
128 | $(call descend,lib/api,clean) | 128 | $(call descend,lib/api,clean) |
129 | 129 | ||
130 | libbpf_clean: | ||
131 | $(call descend,lib/bpf,clean) | ||
132 | |||
133 | libsubcmd_clean: | ||
134 | $(call descend,lib/subcmd,clean) | ||
135 | |||
130 | perf_clean: | 136 | perf_clean: |
131 | $(call descend,$(@:_clean=),clean) | 137 | $(call descend,$(@:_clean=),clean) |
132 | 138 | ||
@@ -142,9 +148,12 @@ tmon_clean: | |||
142 | freefall_clean: | 148 | freefall_clean: |
143 | $(call descend,laptop/freefall,clean) | 149 | $(call descend,laptop/freefall,clean) |
144 | 150 | ||
151 | build_clean: | ||
152 | $(call descend,build,clean) | ||
153 | |||
145 | clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean lguest_clean \ | 154 | clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean lguest_clean \ |
146 | perf_clean selftests_clean turbostat_clean usb_clean virtio_clean \ | 155 | perf_clean selftests_clean turbostat_clean usb_clean virtio_clean \ |
147 | vm_clean net_clean iio_clean x86_energy_perf_policy_clean tmon_clean \ | 156 | vm_clean net_clean iio_clean x86_energy_perf_policy_clean tmon_clean \ |
148 | freefall_clean | 157 | freefall_clean build_clean libbpf_clean libsubcmd_clean liblockdep_clean |
149 | 158 | ||
150 | .PHONY: FORCE | 159 | .PHONY: FORCE |