summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2023-07-10 12:16:27 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-12 16:50:45 +0100
commite497b4d531872b05fc1596d60c5d3f5bba1899bf (patch)
treebcdb60ca69ba30bc97451fb7240ec27825dc4490
parent70a53b7276c133413f148001165959654a2f2806 (diff)
downloadpoky-e497b4d531872b05fc1596d60c5d3f5bba1899bf.tar.gz
linux-yocto/ppc: add elfutils-native to DEPENDS
powerpc joins x86 and ARM requiring elfutils-native in some configurations. We already have this dependency in the dev kernel and in devsrc, so we add it to linux-yocto.inc to ensure that all reference kernels pick up the requirement. Without this, objtools fails to build as follows: kernel-source/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory (From OE-Core rev: 358bab3da997937f3b0f59d65e19a4aea8a1ef98) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/linux-yocto.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc
index 04a8105e17..0cc303c009 100644
--- a/meta/recipes-kernel/linux/linux-yocto.inc
+++ b/meta/recipes-kernel/linux/linux-yocto.inc
@@ -62,7 +62,7 @@ KERNEL_FEATURES:append:qemuall=" features/kernel-sample/kernel-sample.scc"
62KERNEL_DEBUG ?= "" 62KERNEL_DEBUG ?= ""
63# These used to be version specific, but are now common dependencies. New 63# These used to be version specific, but are now common dependencies. New
64# tools / dependencies will continue to be added in version specific recipes. 64# tools / dependencies will continue to be added in version specific recipes.
65DEPENDS += '${@bb.utils.contains_any("ARCH", [ "x86", "arm64" ], "elfutils-native", "", d)}' 65DEPENDS += '${@bb.utils.contains_any("ARCH", [ "x86", "arm64", "powerpc" ], "elfutils-native", "", d)}'
66DEPENDS += "openssl-native util-linux-native" 66DEPENDS += "openssl-native util-linux-native"
67DEPENDS += "gmp-native libmpc-native" 67DEPENDS += "gmp-native libmpc-native"
68DEPENDS += '${@bb.utils.contains("KERNEL_DEBUG", "True", "pahole-native", "", d)}' 68DEPENDS += '${@bb.utils.contains("KERNEL_DEBUG", "True", "pahole-native", "", d)}'