tools/perf/build: Simplify the libelf logic
authorIngo Molnar <mingo@kernel.org>
Thu, 10 Oct 2013 06:53:17 +0000 (08:53 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 14 Oct 2013 13:29:11 +0000 (10:29 -0300)
commit5f36978ca5b12b1e35535dedb8c999694fc0dfcf
tree82400905d2ffd74fdc8e5047a53f323ca044f997
parent0dc097421974e076b47d19806966adf5ebc7fd6b
tools/perf/build: Simplify the libelf logic

Ulrich Drepper and Namhyung Kim reported that the libelf logic in
config/Makefile is duplicated in part.

Remove the duplication, and also remove the now unused FLAGS_LIBELF
variable.

Reported-by: Ulrich Drepper <drepper@gmail.com>
Reported-by: Namhyung Kim <namhyung@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/Makefile