summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-08-17 15:27:32 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-18 16:01:06 (GMT)
commit7cd1bae8109bf24a47e614d901c495304161acaa (patch)
tree8df497d3db4918f01a8b8a745ff71b0883d9e29c /meta/recipes-kernel
parent408a1d24e11e72f8f477cf690f6c7fcc57541805 (diff)
downloadpoky-7cd1bae8109bf24a47e614d901c495304161acaa.tar.gz
kernel-devsrc: fix 5.14+ objtool compilation
In v5.14+, x86 requires not just elfutils, but the elf headers on the target to build objtool (required for 'scripts parepare'), so we tweak our RDEPENDS to ensure that the right headers are on the target. (From OE-Core rev: 03ccc234386f753e1b0129ec557e67bcd04cc69e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 23de1a4..d395739 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -322,7 +322,7 @@ RDEPENDS:${PN} = "bc python3 flex bison ${TCLIBC}-utils"
322# 4.15+ needs these next two RDEPENDS 322# 4.15+ needs these next two RDEPENDS
323RDEPENDS:${PN} += "openssl-dev util-linux" 323RDEPENDS:${PN} += "openssl-dev util-linux"
324# and x86 needs a bit more for 4.15+ 324# and x86 needs a bit more for 4.15+
325RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'x86', 'elfutils', '', d)}" 325RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-dev', '', d)}"
326# 5.8+ needs gcc-plugins libmpc-dev 326# 5.8+ needs gcc-plugins libmpc-dev
327RDEPENDS:${PN} += "gcc-plugins libmpc-dev" 327RDEPENDS:${PN} += "gcc-plugins libmpc-dev"
328# 5.13+ needs awk for arm64 328# 5.13+ needs awk for arm64