]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel.bbclass: avoid config changes based on the availability of pahole
authorMichael Olbrich <m.olbrich@pengutronix.de>
Thu, 24 Mar 2022 16:23:51 +0000 (17:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Mar 2022 09:33:28 +0000 (09:33 +0000)
commit43b0eca2f3fc41a0d2ba7c7679687a3e0eb54b45
tree10def4a5e4c6423fe2e5c5b68240011d95cc30ad
parent0ded646a83768868a1cc4dceb962ee707348af1b
kernel.bbclass: avoid config changes based on the availability of pahole

CONFIG_PAHOLE_HAS_SPLIT_BTF shows up in the config only when pahole is
installed on the host 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>
[afa: ported from PTXdist 0c0cec2288 to OE-core]
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes/kernel.bbclass