]> Git Repo - linux.git/commit
tools: Remove feature-libelf-mmap feature detection
authorAndrii Nakryiko <[email protected]>
Wed, 19 Aug 2020 01:36:07 +0000 (18:36 -0700)
committerAlexei Starovoitov <[email protected]>
Wed, 19 Aug 2020 01:38:25 +0000 (18:38 -0700)
commit22dd1ac91a77675238d10059c479ab6fa6160c60
treedb9db9e5bf0e08e319156582f83936d0f74a95cd
parent85367030a6c7ef3373347cf816c698995074f6f0
tools: Remove feature-libelf-mmap feature detection

It's trivial to handle missing ELF_C_MMAP_READ support in libelf the way that
objtool has solved it in
("774bec3fddcc objtool: Add fallback from ELF_C_READ_MMAP to ELF_C_READ").

So instead of having an entire feature detector for that, just do what objtool
does for perf and libbpf. And keep their Makefiles a bit simpler.

Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
tools/build/Makefile.feature
tools/build/feature/Makefile
tools/build/feature/test-all.c
tools/build/feature/test-libelf-mmap.c [deleted file]
tools/lib/bpf/Makefile
tools/lib/bpf/libbpf.c
tools/perf/Makefile.config
tools/perf/util/symbol.h
This page took 0.054744 seconds and 4 git commands to generate.