tools/build: Remove some unused libbpf pre-1.0 feature test logic
PATCH 1/1 tools/build: Remove some unused libbpf pre-1.0 feature test logic
Commit 76a97cf2e169 ("perf build: Remove libbpf pre-1.0 feature tests") removed the libbpf feature test logic used by perf in favor of using LIBBPF_MAJOR_VERSION. Remove some build targets that should have been removed as part of that clean up.
Fixes 76a97cf2e169 ("perf build: Remove libbpf pre-1.0 feature tests")
Signed-off-by Ian Rogers <[email protected]>
--- tools/build/Makefile.feature | 6 ------ tools/build/feature/Makefile | 21 --------------------- 2 files changed, 27 deletions(-)
tools/build/Makefile.feature +0 -6
@@ -127,12 +127,6 @@ FEATURE_TESTS_EXTRA := \ llvm \ clang \ libbpf \ - libbpf-btf__load_from_kernel_by_id \ - libbpf-bpf_prog_load \ - libbpf-bpf_object__next_program \ - libbpf-bpf_object__next_map \ - libbpf-bpf_program__set_insns \ - libbpf-bpf_create_map \ libpfm4 \ libdebuginfod \ clang-bpf-co-re \
tools/build/feature/Makefile +0 -21
@@ -339,27 +339,6 @@ $(OUTPUT)test-bpf.bin: $(OUTPUT)test-libbpf.bin: $(BUILD) -lbpf -$(OUTPUT)test-libbpf-btf__load_from_kernel_by_id.bin: - $(BUILD) -lbpf - -$(OUTPUT)test-libbpf-bpf_prog_load.bin: - $(BUILD) -lbpf - -$(OUTPUT)test-libbpf-bpf_map_create.bin: - $(BUILD) -lbpf - -$(OUTPUT)test-libbpf-bpf_object__next_program.bin: - $(BUILD) -lbpf - -$(OUTPUT)test-libbpf-bpf_object__next_map.bin: - $(BUILD) -lbpf - -$(OUTPUT)test-libbpf-bpf_program__set_insns.bin: - $(BUILD) -lbpf - -$(OUTPUT)test-libbpf-btf__raw_data.bin: - $(BUILD) -lbpf - $(OUTPUT)test-sdt.bin: $(BUILD)
Signature · 1 line
2.49.0.1204.g71687c7c1d-goog
Namhyung Kim
AppliedQuoted 6 lines · Ian Rogers
Commit
76a97cf2e169("perf build: Remove libbpf pre-1.0 feature tests") removed the libbpf feature test logic used by perf in favor of usingLIBBPF_MAJOR_VERSION. Remove some build targets that should have been removed as part of that clean up.
Applied to perf-tools-next, thanks!
Best regards,
Namhyung