summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-11-26 13:53:28 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-11-26 19:21:29 +0100
commit0c0cec228884ebbc763fca4e2deb9b71e58ebe4c (patch)
tree283c0216a7a0df1ff1ec6e9454e76adf7264e915
parentbb641c3d088e004074857ae0de54861d98a09475 (diff)
downloadptxdist-0c0cec228884ebbc763fca4e2deb9b71e58ebe4c.tar.gz
ptxdist-0c0cec228884ebbc763fca4e2deb9b71e58ebe4c.tar.xz
kernel: avoid config changes based on the availability of pahole
CONFIG_PAHOLE_HAS_SPLIT_BTF shows up in the config only when pahole is installed in the system. As a result, the config changes depending on whether pahole is installed or not. Set PAHOLE=false to ensure that it is never found. If this is actually needed in the future, then we can add an option for it and create a host package for pahole. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/kernel.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/kernel.make b/rules/kernel.make
index 3844b8a22..0ecf5f4e9 100644
--- a/rules/kernel.make
+++ b/rules/kernel.make
@@ -88,7 +88,8 @@ KERNEL_MODULE_OPT = \
$(KERNEL_BASE_OPT)
KERNEL_SHARED_OPT = \
- $(KERNEL_MODULE_OPT)
+ $(KERNEL_MODULE_OPT) \
+ PAHOLE=false
ifndef PTXCONF_KERNEL_GCC_PLUGINS
# no gcc plugins; avoid config changes depending on the host compiler