]> 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)
commitfeacb5f530c56ba82e5204732472475644410cda
treec835bd525022202bd2f2ac5875cb765c0381bacf
parent8156228b301d077feaa283c2f2c44eafeb6ed9a1
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