perf: Auto-detect libelf
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 5 Aug 2009 12:05:16 +0000 (14:05 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 6 Aug 2009 18:25:13 +0000 (20:25 +0200)
commit9424edc2da097c8589fcc24a72552d33e54be161
treeb7138f616963629b5be366cdee8f66bed85e66f0
parent4d1e00a8af426500edfb8643fa6c375b89f1f804
perf: Auto-detect libelf

Adds autodetection for libelf as well, and simplifies the
libbfd code. Furthermore, fail make with an error when libelf
is not found and warn about the lack of libbfd.

Also provide an option to build a 32bit version even though you
might be running a 64bit kernel.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile