diff options
author | Nathan Chancellor <nathan@kernel.org> | 2022-02-01 13:56:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-25 12:06:45 +0100 |
commit | 3597fd5f9217d6b7c24f3aefea629484a5505764 (patch) | |
tree | 92bb0e6b2b157141cc8b029b454204a44b006965 /MAINTAINERS | |
parent | c98077f7598a562f51051eec043be0cb3e1b1b5e (diff) | |
download | linux-stable-3597fd5f9217d6b7c24f3aefea629484a5505764.tar.gz linux-stable-3597fd5f9217d6b7c24f3aefea629484a5505764.tar.bz2 linux-stable-3597fd5f9217d6b7c24f3aefea629484a5505764.zip |
kbuild: Add CONFIG_PAHOLE_VERSION
commit 613fe169237785a4bb1d06397b52606b2967da53 upstream.
There are a few different places where pahole's version is turned into a
three digit form with the exact same command. Move this command into
scripts/pahole-version.sh to reduce the amount of duplication across the
tree.
Create CONFIG_PAHOLE_VERSION so the version code can be used in Kconfig
to enable and disable configuration options based on the pahole version,
which is already done in a couple of places.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220201205624.652313-3-nathan@kernel.org
Signed-off-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index f4ef2eb56f38..d0884a5d49b9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3407,6 +3407,7 @@ F: net/sched/act_bpf.c F: net/sched/cls_bpf.c F: samples/bpf/ F: scripts/bpf_doc.py +F: scripts/pahole-version.sh F: tools/bpf/ F: tools/lib/bpf/ F: tools/testing/selftests/bpf/ |