diff options
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 0cc303c009..0132fcffb3 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc | |||
| @@ -65,7 +65,10 @@ KERNEL_DEBUG ?= "" | |||
| 65 | DEPENDS += '${@bb.utils.contains_any("ARCH", [ "x86", "arm64", "powerpc" ], "elfutils-native", "", d)}' | 65 | DEPENDS += '${@bb.utils.contains_any("ARCH", [ "x86", "arm64", "powerpc" ], "elfutils-native", "", d)}' |
| 66 | DEPENDS += "openssl-native util-linux-native" | 66 | DEPENDS += "openssl-native util-linux-native" |
| 67 | DEPENDS += "gmp-native libmpc-native" | 67 | DEPENDS += "gmp-native libmpc-native" |
| 68 | DEPENDS += '${@bb.utils.contains("KERNEL_DEBUG", "True", "pahole-native", "", d)}' | 68 | |
| 69 | # Some options depend on CONFIG_PAHOLE_VERSION, so need to make pahole-native available before do_kernel_configme | ||
| 70 | do_kernel_configme[depends] += '${@bb.utils.contains("KERNEL_DEBUG", "True", "pahole-native:do_populate_sysroot", "", d)}' | ||
| 71 | |||
| 69 | EXTRA_OEMAKE += '${@bb.utils.contains("KERNEL_DEBUG", "True", "", "PAHOLE=false", d)}' | 72 | EXTRA_OEMAKE += '${@bb.utils.contains("KERNEL_DEBUG", "True", "", "PAHOLE=false", d)}' |
| 70 | 73 | ||
| 71 | do_devshell:prepend() { | 74 | do_devshell:prepend() { |
