diff options
author | Jiri Olsa <[email protected]> | 2015-06-22 14:50:52 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-06-22 11:27:09 -0300 |
commit | 8e55735150934f9ab2ce8a8005626e5693a6b61d (patch) | |
tree | ef90e4fe04d2441dfbfb0187fdc4a824caee7a8e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | eb30d2c5077b30f9f8e00eb2e5fadba18b148538 (diff) |
perf build: Fix single target build dependency check
Currently if we build a single target like:
$ touch util/map.c && make util/map.o
It will not rebuild util/map.o if it already exists and util/map.c is
modified.
The reason is that the top-level 'Makefile' processes util/map.o as an
implicit rule and if util/map.o exists make considers the 'util/map.o'
target as done and will not nest into Makefile.perf.
Adding FORCE for '%', because that's what we want to nest into
Makefile.perf for any target.
Adding Makefile into phony targets, because make tries to rebuild it and
it's also resolved as '%' target.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Lukas Wunner <[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]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions