Skip to content

Commit 108326d

Browse files
qmonnetAlexei Starovoitov
authored andcommitted
bpftool: Split FEATURE_TESTS/FEATURE_DISPLAY definitions in Makefile
Make FEATURE_TESTS and FEATURE_DISPLAY easier to read and less likely to be subject to conflicts on updates by having one feature per line. Suggested-by: Andres Freund <[email protected]> Signed-off-by: Quentin Monnet <[email protected]> Tested-by: Niklas Söderlund <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent 55b4de5 commit 108326d

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

tools/bpf/bpftool/Makefile

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,20 @@ INSTALL ?= install
9393
RM ?= rm -f
9494

9595
FEATURE_USER = .bpftool
96-
FEATURE_TESTS = libbfd libbfd-liberty libbfd-liberty-z \
97-
disassembler-four-args disassembler-init-styled libcap \
98-
clang-bpf-co-re
99-
FEATURE_DISPLAY = libbfd libbfd-liberty libbfd-liberty-z \
100-
libcap clang-bpf-co-re
96+
97+
FEATURE_TESTS := clang-bpf-co-re
98+
FEATURE_TESTS += libcap
99+
FEATURE_TESTS += libbfd
100+
FEATURE_TESTS += libbfd-liberty
101+
FEATURE_TESTS += libbfd-liberty-z
102+
FEATURE_TESTS += disassembler-four-args
103+
FEATURE_TESTS += disassembler-init-styled
104+
105+
FEATURE_DISPLAY := clang-bpf-co-re
106+
FEATURE_DISPLAY += libcap
107+
FEATURE_DISPLAY += libbfd
108+
FEATURE_DISPLAY += libbfd-liberty
109+
FEATURE_DISPLAY += libbfd-liberty-z
101110

102111
check_feat := 1
103112
NON_CHECK_FEAT_TARGETS := clean uninstall doc doc-clean doc-install doc-uninstall

0 commit comments

Comments
 (0)