lib/Kconfig.debug: Use CONFIG_PAHOLE_VERSION
authorNathan Chancellor <nathan@kernel.org>
Tue, 1 Feb 2022 20:56:23 +0000 (13:56 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 2 Feb 2022 10:19:33 +0000 (11:19 +0100)
commit6323c81350b73a4569cf52df85f80273faa64071
tree94a5c8f00c95869f74ffa543f98bc93824cafe8a
parent2d6c9810eb8915c4ddede707b8e167a1d919e1ca
lib/Kconfig.debug: Use CONFIG_PAHOLE_VERSION

Now that CONFIG_PAHOLE_VERSION exists, use it in the definition of
CONFIG_PAHOLE_HAS_SPLIT_BTF and CONFIG_PAHOLE_HAS_BTF_TAG to reduce the
amount of duplication across the tree.

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-5-nathan@kernel.org
lib/Kconfig.debug