diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-08-17 11:27:32 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-18 17:01:06 +0100 |
commit | 7cd1bae8109bf24a47e614d901c495304161acaa (patch) | |
tree | 8df497d3db4918f01a8b8a745ff71b0883d9e29c /meta | |
parent | 408a1d24e11e72f8f477cf690f6c7fcc57541805 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 2 |
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 23de1a4917..d39573965f 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 |
323 | RDEPENDS:${PN} += "openssl-dev util-linux" | 323 | RDEPENDS:${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+ |
325 | RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'x86', 'elfutils', '', d)}" | 325 | RDEPENDS:${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 |
327 | RDEPENDS:${PN} += "gcc-plugins libmpc-dev" | 327 | RDEPENDS:${PN} += "gcc-plugins libmpc-dev" |
328 | # 5.13+ needs awk for arm64 | 328 | # 5.13+ needs awk for arm64 |