diff options
| author | Alan Maguire <[email protected]> | 2024-05-14 16:27:16 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-05-18 17:46:16 +0000 |
| commit | 34021caef79f76e70ac31247d321ecd0683c4939 (patch) | |
| tree | b0fa2ab7294afb00d3ed9d81c4442cbd8767c372 | |
| parent | bpftool: Fix make dependencies for vmlinux.h (diff) | |
| download | kernel-34021caef79f76e70ac31247d321ecd0683c4939.tar.gz kernel-34021caef79f76e70ac31247d321ecd0683c4939.zip | |
kbuild, bpf: Use test-ge check for v1.25-only pahole
There is no need to set the pahole v1.25-only flags in an
"ifeq" version clause; we are already in a <= v1.25 branch
of "ifeq", so that combined with a "test-ge" v1.25 ensures the
flags will be applied for v1.25 only.
Suggested-by: Masahiro Yamada <[email protected]>
Signed-off-by: Alan Maguire <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
| -rw-r--r-- | scripts/Makefile.btf | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/Makefile.btf b/scripts/Makefile.btf index 2d6e5ed9081e..bca8a8f26ea4 100644 --- a/scripts/Makefile.btf +++ b/scripts/Makefile.btf @@ -14,9 +14,7 @@ pahole-flags-$(call test-ge, $(pahole-ver), 121) += --btf_gen_floats pahole-flags-$(call test-ge, $(pahole-ver), 122) += -j -ifeq ($(pahole-ver), 125) -pahole-flags-y += --skip_encoding_btf_inconsistent_proto --btf_gen_optimized -endif +pahole-flags-$(call test-ge, $(pahole-ver), 125) += --skip_encoding_btf_inconsistent_proto --btf_gen_optimized else |
