projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
972ec65
)
perf tools: Fix tags/TAGS targets rebuilding
author
Jiri Olsa
<
[email protected]
>
Tue, 26 Nov 2013 12:54:12 +0000
(13:54 +0100)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 27 Nov 2013 19:47:14 +0000
(16:47 -0300)
Once the tags/TAGS file is generated it's never rebuilt until it's
removed by hand.
The reason is that the Makefile does not treat tags/TAGS as targets but
as files and thus won't rebuilt them once they are in place.
Adding PHONY tags/TAGS targets into Makefile.
Signed-off-by: Jiri Olsa <
[email protected]
>
Acked-by: Ingo Molnar <
[email protected]
>
Cc: Adrian Hunter <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/Makefile
patch
|
blob
|
history
diff --git
a/tools/perf/Makefile
b/tools/perf/Makefile
index 4835618a5608892054de87d497e45e644fdeb0da..eefb9fb0c02f991ba00007b8885685ff248a85dc 100644
(file)
--- a/
tools/perf/Makefile
+++ b/
tools/perf/Makefile
@@
-60,8
+60,11
@@
endef
#
# Needed if no target specified:
+# (Except for tags and TAGS targets. The reason is that the
+# Makefile does not treat tags/TAGS as targets but as files
+# and thus won't rebuilt them once they are in place.)
#
-all:
+all
tags TAGS
:
$(print_msg)
$(make)
@@
-77,3
+80,5
@@
clean:
%:
$(print_msg)
$(make)
+
+.PHONY: tags TAGS