kbuild, bpf: Use test-ge check for v1.25-only pahole
authorAlan Maguire <alan.maguire@oracle.com>
Tue, 14 May 2024 16:27:16 +0000 (17:27 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 18 May 2024 17:46:16 +0000 (10:46 -0700)
commit34021caef79f76e70ac31247d321ecd0683c4939
treeb0fa2ab7294afb00d3ed9d81c4442cbd8767c372
parente7b64f9d3f5b10186038201e0b91f734cbd7fc3d
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 <masahiroy@kernel.org>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240514162716.2448265-1-alan.maguire@oracle.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
scripts/Makefile.btf