]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix parsers' rules to dependencies
authorJiri Olsa <jolsa@redhat.com>
Wed, 11 Apr 2012 10:39:51 +0000 (12:39 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 14 Apr 2012 16:49:43 +0000 (13:49 -0300)
commitb15d3ec1d8fdb6353aaabb725b56468849c3be41
treec835bd525022202bd2f2ac5875cb765c0381bacf
parent53ce1fffc19e65839e330aa53e3b830044f7ea0f
perf tools: Fix parsers' rules to dependencies

Currently the parsers objects (bison/flex related) are each time perf
is built. No matter the generated files are already in place, the
parser generation is executed every time.

Changing the rules to have proper flex/bison objects generation
dependencies.

The parsers code is not rebuilt until the flex/bison source files
are touched. Also when flex/bison source is changed, only dependent
objects are rebuilt.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1334140791-3024-1-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile