]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Add an option to build without libbfd
authorIan Rogers <irogers@google.com>
Fri, 10 Sep 2021 22:57:56 +0000 (15:57 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 11 Sep 2021 19:06:52 +0000 (16:06 -0300)
commitf3798888e2339e98fc5da321c5bc1a75c268eba4
treee02f2af52ce9f56de19284cc35fc6442370d5466
parent2b3269a709b9058bafb1e78f74a3d0b6000c5979
perf tools: Add an option to build without libbfd

Some distributions, like debian, don't link perf with libbfd. Add a
build flag to make this configuration buildable and testable.

This was inspired by:

  https://lore.kernel.org/linux-perf-users/20210910102307.2055484-1-tonyg@leastfixedpoint.com/T/#u

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: tony garnock-jones <tonyg@leastfixedpoint.com>
Link: http://lore.kernel.org/lkml/20210910225756.729087-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config