This ports commit 0c0cec22888 to the kernel template:

    | commit 0c0cec228884ebbc763fca4e2deb9b71e58ebe4c
    | Author: Michael Olbrich <m.olbr...@pengutronix.de>
    | Date:   2021-11-26 13:53:28
    |
    |     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.olbr...@pengutronix.de>

Signed-off-by: Roland Hieber <r...@pengutronix.de>
---
 rules/templates/template-kernel-make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/templates/template-kernel-make 
b/rules/templates/template-kernel-make
index 7115fa572bb0..3d8dab41aef2 100644
--- a/rules/templates/template-kernel-make
+++ b/rules/templates/template-kernel-make
@@ -46,6 +46,7 @@ KERNEL_@PACKAGE@_PATH         := PATH=$(CROSS_PATH)
 KERNEL_@PACKAGE@_SHARED_OPT    := \
        -C $(KERNEL_@PACKAGE@_DIR) \
        O=$(KERNEL_@PACKAGE@_BUILD_DIR) \
+       PAHOLE=false \
        $(call kernel-opts, KERNEL_@PACKAGE@)
 
 # no gcc plugins; avoid config changes depending on the host compiler
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to