mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] template: kernel: avoid config changes based on availability of pahole
@ 2021-11-29 10:08 Roland Hieber
  2021-12-10 13:06 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2021-11-29 10:08 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

This ports commit 0c0cec22888 to the kernel template:

    | commit 0c0cec228884ebbc763fca4e2deb9b71e58ebe4c
    | Author: Michael Olbrich <m.olbrich@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.olbrich@pengutronix.de>

Signed-off-by: Roland Hieber <rhi@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-request@pengutronix.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] template: kernel: avoid config changes based on availability of pahole
  2021-11-29 10:08 [ptxdist] [PATCH] template: kernel: avoid config changes based on availability of pahole Roland Hieber
@ 2021-12-10 13:06 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-12-10 13:06 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

Thanks, applied as ceb09a1f5e566855b1060feb5a6c26e2a8bcacda.

Michael

[sent from post-receive hook]

On Fri, 10 Dec 2021 14:06:59 +0100, Roland Hieber <rhi@pengutronix.de> wrote:
> This ports commit 0c0cec22888 to the kernel template:
> 
>     | commit 0c0cec228884ebbc763fca4e2deb9b71e58ebe4c
>     | Author: Michael Olbrich <m.olbrich@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.olbrich@pengutronix.de>
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20211129100845.3011056-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-10 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 10:08 [ptxdist] [PATCH] template: kernel: avoid config changes based on availability of pahole Roland Hieber
2021-12-10 13:06 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox