[PATCH v1 0/3] Remove BUILD_NONDISTRO

From: Ian Rogers
Date: Sat Jan 11 2025 - 15:29:07 EST


BUILD_NONDISTRO is used to build perf against the license incompatible
libbfd and libiberty libraries. As this has been opt-in for nearly 2
years, commit dd317df07207 ("perf build: Make binutil libraries opt
in"), remove the code to simplify the code base.

Ian Rogers (3):
perf build: Remove libbfd support
perf build: Remove libiberty support
perf build: Remove unused defines

tools/perf/Documentation/perf-check.txt | 1 -
tools/perf/Makefile.config | 63 +-----
tools/perf/Makefile.perf | 11 +-
tools/perf/builtin-check.c | 1 -
tools/perf/tests/Build | 1 -
tools/perf/tests/builtin-test.c | 1 -
tools/perf/tests/make | 2 -
tools/perf/tests/pe-file-parsing.c | 101 ----------
tools/perf/tests/tests.h | 1 -
tools/perf/util/demangle-cxx.cpp | 22 +--
tools/perf/util/disasm_bpf.c | 166 ----------------
tools/perf/util/srcline.c | 244 +-----------------------
tools/perf/util/symbol-elf.c | 95 ---------
tools/perf/util/symbol.c | 135 -------------
tools/perf/util/symbol.h | 4 -
15 files changed, 9 insertions(+), 839 deletions(-)
delete mode 100644 tools/perf/tests/pe-file-parsing.c

--
2.47.1.613.gc27f4b7a9f-goog