diff options
| author | James Clark <james.clark@linaro.org> | 2026-07-15 15:53:50 +0100 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-07-25 22:25:00 -0700 |
| commit | 738d0cc77e4e7f7fdc91d9f48c3b15d3cbb046ed (patch) | |
| tree | 10170d4f8dc044199369c748295820a89ce77ed0 /tools/lib/api/Makefile | |
| parent | 1d2af6c43bc22825a2e7ac2ea9cff32b0e2b1f22 (diff) | |
| download | linux-next-738d0cc77e4e7f7fdc91d9f48c3b15d3cbb046ed.tar.gz linux-next-738d0cc77e4e7f7fdc91d9f48c3b15d3cbb046ed.zip | |
tools/build: Allow versioning LLVM readelf
Documentation/kbuild/llvm.rst mentions that readelf is included in the
LLVM toolchain, but it's not currently included in this block.
Add it so that LLVM=... options also apply to readelf. Users in tools/
were Perf which was hardcoding it, and another was the BPF makefile.
Both already include Makefile.include so convert them to use the new
variables.
Where readelf wasn't doing anything arch specific, use HOSTREADELF
because it's more likely to be installed.
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Acked-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/api/Makefile')
0 files changed, 0 insertions, 0 deletions
