mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] perf tools: Fix tags target rebuilding
@ 2013-11-26 11:21 Jiri Olsa
  2013-11-26 11:31 ` Ingo Molnar
  0 siblings, 1 reply; 10+ messages in thread
From: Jiri Olsa @ 2013-11-26 11:21 UTC (permalink / raw)
  To: linux-kernel
  Cc: Jiri Olsa, Ingo Molnar, Frederic Weisbecker, Peter Zijlstra,
	Namhyung Kim, Mike Galbraith, Stephane Eranian, David Ahern,
	Adrian Hunter, Arnaldo Carvalho de Melo

Once the tags file is generated it's never rebuilt
until it's removed by hand.

The reason is that the Makefile does not treat tags
as a target but as a file to be rebuilt.

Adding tags as PHONY target into the Makefile.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Stephane Eranian <eranian@google.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 4835618..95f5792 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -61,7 +61,7 @@ endef
 #
 # Needed if no target specified:
 #
-all:
+all tags:
 	$(print_msg)
 	$(make)
 
@@ -77,3 +77,5 @@ clean:
 %:
 	$(print_msg)
 	$(make)
+
+.PHONY: tags
-- 
1.8.3.1


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

end of thread, other threads:[~2013-11-30 12:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-26 11:21 [PATCH] perf tools: Fix tags target rebuilding Jiri Olsa
2013-11-26 11:31 ` Ingo Molnar
2013-11-26 11:50   ` Jiri Olsa
2013-11-26 12:00     ` Ingo Molnar
2013-11-26 12:54       ` [PATCHv2] perf tools: Fix tags/TAGS targets rebuilding Jiri Olsa
2013-11-26 16:13         ` Ingo Molnar
2013-11-26 23:16           ` Jiri Olsa
2013-11-27 11:31             ` Ingo Molnar
2013-11-27 19:40             ` Arnaldo Carvalho de Melo
2013-11-30 12:54         ` [tip:perf/core] " tip-bot for Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome