All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/lib: improve clean target
@ 2015-06-18 12:52 riku.voipio
  2015-07-08 18:22 ` Riku Voipio
  2015-07-10  8:14 ` [tip:perf/urgent] tools lib: Improve " tip-bot for Riku Voipio
  0 siblings, 2 replies; 4+ messages in thread
From: riku.voipio @ 2015-06-18 12:52 UTC (permalink / raw)
  To: linux-kbuild, linux-kernel; +Cc: acme, mingo, a.p.zijlstra, Riku Voipio

From: Riku Voipio <riku.voipio@linaro.org>

The clean targets miss some .cmd and .d files.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
 tools/lib/api/Makefile        | 2 +-
 tools/lib/traceevent/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile
index 8bd9606..fe1b02c 100644
--- a/tools/lib/api/Makefile
+++ b/tools/lib/api/Makefile
@@ -36,7 +36,7 @@ $(LIBFILE): $(API_IN)
 
 clean:
 	$(call QUIET_CLEAN, libapi) $(RM) $(LIBFILE); \
-	find $(if $(OUTPUT),$(OUTPUT),.) -name \*.o | xargs $(RM)
+	find $(if $(OUTPUT),$(OUTPUT),.) -name \*.o -or -name \*.o.cmd -or -name \*.o.d | xargs $(RM)
 
 FORCE:
 
diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
index 6daaff6..7851df1 100644
--- a/tools/lib/traceevent/Makefile
+++ b/tools/lib/traceevent/Makefile
@@ -268,7 +268,7 @@ install: install_lib
 
 clean:
 	$(call QUIET_CLEAN, libtraceevent) \
-		$(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d \
+		$(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d .*.cmd \
 		$(RM) TRACEEVENT-CFLAGS tags TAGS
 
 PHONY += force plugins
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] tools/lib: improve clean target
  2015-06-18 12:52 [PATCH] tools/lib: improve clean target riku.voipio
@ 2015-07-08 18:22 ` Riku Voipio
  2015-07-08 20:57   ` Arnaldo Carvalho de Melo
  2015-07-10  8:14 ` [tip:perf/urgent] tools lib: Improve " tip-bot for Riku Voipio
  1 sibling, 1 reply; 4+ messages in thread
From: Riku Voipio @ 2015-07-08 18:22 UTC (permalink / raw)
  To: linux-kbuild, linux-kernel; +Cc: mingo, a.p.zijlstra, Riku Voipio, acme

On 18 June 2015 at 15:52,  <riku.voipio@linaro.org> wrote:
> From: Riku Voipio <riku.voipio@linaro.org>
>
> The clean targets miss some .cmd and .d files.

Is this patch slipping through cracks?

> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
> ---
>  tools/lib/api/Makefile        | 2 +-
>  tools/lib/traceevent/Makefile | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile
> index 8bd9606..fe1b02c 100644
> --- a/tools/lib/api/Makefile
> +++ b/tools/lib/api/Makefile
> @@ -36,7 +36,7 @@ $(LIBFILE): $(API_IN)
>
>  clean:
>         $(call QUIET_CLEAN, libapi) $(RM) $(LIBFILE); \
> -       find $(if $(OUTPUT),$(OUTPUT),.) -name \*.o | xargs $(RM)
> +       find $(if $(OUTPUT),$(OUTPUT),.) -name \*.o -or -name \*.o.cmd -or -name \*.o.d | xargs $(RM)
>
>  FORCE:
>
> diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
> index 6daaff6..7851df1 100644
> --- a/tools/lib/traceevent/Makefile
> +++ b/tools/lib/traceevent/Makefile
> @@ -268,7 +268,7 @@ install: install_lib
>
>  clean:
>         $(call QUIET_CLEAN, libtraceevent) \
> -               $(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d \
> +               $(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d .*.cmd \
>                 $(RM) TRACEEVENT-CFLAGS tags TAGS
>
>  PHONY += force plugins
> --
> 2.1.4
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] tools/lib: improve clean target
  2015-07-08 18:22 ` Riku Voipio
@ 2015-07-08 20:57   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-07-08 20:57 UTC (permalink / raw)
  To: Riku Voipio; +Cc: linux-kbuild, linux-kernel, mingo, a.p.zijlstra, acme

Em Wed, Jul 08, 2015 at 09:22:23PM +0300, Riku Voipio escreveu:
> On 18 June 2015 at 15:52,  <riku.voipio@linaro.org> wrote:
> > From: Riku Voipio <riku.voipio@linaro.org>
> >
> > The clean targets miss some .cmd and .d files.
> 
> Is this patch slipping through cracks?

Not anymore, applied to my perf/urgent branch, will go soon to Ingo,
piggybacking on some more urgent stuff.

- Arnaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [tip:perf/urgent] tools lib: Improve clean target
  2015-06-18 12:52 [PATCH] tools/lib: improve clean target riku.voipio
  2015-07-08 18:22 ` Riku Voipio
@ 2015-07-10  8:14 ` tip-bot for Riku Voipio
  1 sibling, 0 replies; 4+ messages in thread
From: tip-bot for Riku Voipio @ 2015-07-10  8:14 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: acme, hpa, linux-kernel, mingo, tglx, riku.voipio, a.p.zijlstra

Commit-ID:  c867b150de8514d8682978d8e8874c3940ae781b
Gitweb:     http://git.kernel.org/tip/c867b150de8514d8682978d8e8874c3940ae781b
Author:     Riku Voipio <riku.voipio@linaro.org>
AuthorDate: Thu, 18 Jun 2015 15:52:18 +0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 8 Jul 2015 17:56:13 -0300

tools lib: Improve clean target

The clean targets miss some .cmd and .d files.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: linux-kbuild@vger.kernel.org
Link: http://lkml.kernel.org/r/1434631938-12681-1-git-send-email-riku.voipio@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/lib/api/Makefile        | 2 +-
 tools/lib/traceevent/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile
index 8bd9606..fe1b02c 100644
--- a/tools/lib/api/Makefile
+++ b/tools/lib/api/Makefile
@@ -36,7 +36,7 @@ $(LIBFILE): $(API_IN)
 
 clean:
 	$(call QUIET_CLEAN, libapi) $(RM) $(LIBFILE); \
-	find $(if $(OUTPUT),$(OUTPUT),.) -name \*.o | xargs $(RM)
+	find $(if $(OUTPUT),$(OUTPUT),.) -name \*.o -or -name \*.o.cmd -or -name \*.o.d | xargs $(RM)
 
 FORCE:
 
diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
index 6daaff6..7851df1 100644
--- a/tools/lib/traceevent/Makefile
+++ b/tools/lib/traceevent/Makefile
@@ -268,7 +268,7 @@ install: install_lib
 
 clean:
 	$(call QUIET_CLEAN, libtraceevent) \
-		$(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d \
+		$(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d .*.cmd \
 		$(RM) TRACEEVENT-CFLAGS tags TAGS
 
 PHONY += force plugins

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-10  8:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-18 12:52 [PATCH] tools/lib: improve clean target riku.voipio
2015-07-08 18:22 ` Riku Voipio
2015-07-08 20:57   ` Arnaldo Carvalho de Melo
2015-07-10  8:14 ` [tip:perf/urgent] tools lib: Improve " tip-bot for Riku Voipio

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.