diff options
author | Roland Hieber <rhi@pengutronix.de> | 2021-11-29 11:08:45 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-11-29 14:50:29 +0100 |
commit | ceb09a1f5e566855b1060feb5a6c26e2a8bcacda (patch) | |
tree | f019f3325afce795b6c18ab106722c38d54ba5f4 | |
parent | eab63b6b9a4ffcd10d0d8762c39d595f89880f67 (diff) | |
download | ptxdist-ceb09a1f5e566855b1060feb5a6c26e2a8bcacda.tar.gz ptxdist-ceb09a1f5e566855b1060feb5a6c26e2a8bcacda.tar.xz |
template: kernel: avoid config changes based on availability of pahole
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>
-rw-r--r-- | rules/templates/template-kernel-make | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/templates/template-kernel-make b/rules/templates/template-kernel-make index 7115fa572..3d8dab41a 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 |