diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-05-31 14:48:57 -0400 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-06-23 04:16:41 -1000 |
commit | 62257379ea259538fefea9d00819e0cd3503683c (patch) | |
tree | c990c7a01a371a84429f54c15b70c76aaf85d945 | |
parent | aa12c43757c04edf53b5e215648783459f84c095 (diff) | |
download | poky-62257379ea259538fefea9d00819e0cd3503683c.tar.gz |
kernel: don't force PAHOLE=false
If a specific kernel provider or configuration wants to enable BTF
and pahole analysis, it isn't currently possible due to the explicit
definition to false in the base kernel build arguments.
pahole is now detected by the kernel built itself, so unless
pahole-native is enabled, the result is the same.
If a kernel does require an explicit disable of pahole, it is better
to carry PAHOLE=false in those specific recipes.
(From OE-Core rev: 44b75c7442b05a2fedcc0d73982566c2bef84357)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1e4851a36ed47ce6ba880a49264b9a57c78cf4f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 3d5422b09e..fc48737869 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -232,7 +232,7 @@ KERNEL_EXTRA_ARGS ?= "" | |||
232 | 232 | ||
233 | EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}"' | 233 | EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}"' |
234 | EXTRA_OEMAKE += ' HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"' | 234 | EXTRA_OEMAKE += ' HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"' |
235 | EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}" PAHOLE=false' | 235 | EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}"' |
236 | 236 | ||
237 | KERNEL_ALT_IMAGETYPE ??= "" | 237 | KERNEL_ALT_IMAGETYPE ??= "" |
238 | 238 | ||