Skip to content

Commit 5ae6a30

Browse files
captain5050namhyung
authored andcommitted
tools/build: Remove some unused libbpf pre-1.0 feature test logic
Commit 76a97cf ("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: 76a97cf ("perf build: Remove libbpf pre-1.0 feature tests") Signed-off-by: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent 5128492 commit 5ae6a30

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

tools/build/Makefile.feature

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ FEATURE_TESTS_EXTRA := \
126126
llvm \
127127
clang \
128128
libbpf \
129-
libbpf-btf__load_from_kernel_by_id \
130-
libbpf-bpf_prog_load \
131-
libbpf-bpf_object__next_program \
132-
libbpf-bpf_object__next_map \
133-
libbpf-bpf_program__set_insns \
134-
libbpf-bpf_create_map \
135129
libpfm4 \
136130
libdebuginfod \
137131
clang-bpf-co-re \

tools/build/feature/Makefile

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -339,27 +339,6 @@ $(OUTPUT)test-bpf.bin:
339339
$(OUTPUT)test-libbpf.bin:
340340
$(BUILD) -lbpf
341341

342-
$(OUTPUT)test-libbpf-btf__load_from_kernel_by_id.bin:
343-
$(BUILD) -lbpf
344-
345-
$(OUTPUT)test-libbpf-bpf_prog_load.bin:
346-
$(BUILD) -lbpf
347-
348-
$(OUTPUT)test-libbpf-bpf_map_create.bin:
349-
$(BUILD) -lbpf
350-
351-
$(OUTPUT)test-libbpf-bpf_object__next_program.bin:
352-
$(BUILD) -lbpf
353-
354-
$(OUTPUT)test-libbpf-bpf_object__next_map.bin:
355-
$(BUILD) -lbpf
356-
357-
$(OUTPUT)test-libbpf-bpf_program__set_insns.bin:
358-
$(BUILD) -lbpf
359-
360-
$(OUTPUT)test-libbpf-btf__raw_data.bin:
361-
$(BUILD) -lbpf
362-
363342
$(OUTPUT)test-sdt.bin:
364343
$(BUILD)
365344

0 commit comments

Comments
 (0)