mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
408a1d24e1
commit
7cd1bae810
@@ -322,7 +322,7 @@ RDEPENDS:${PN} = "bc python3 flex bison ${TCLIBC}-utils"
|
||||
# 4.15+ needs these next two RDEPENDS
|
||||
RDEPENDS:${PN} += "openssl-dev util-linux"
|
||||
# and x86 needs a bit more for 4.15+
|
||||
RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'x86', 'elfutils', '', d)}"
|
||||
RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-dev', '', d)}"
|
||||
# 5.8+ needs gcc-plugins libmpc-dev
|
||||
RDEPENDS:${PN} += "gcc-plugins libmpc-dev"
|
||||
# 5.13+ needs awk for arm64
|
||||
|
||||
Reference in New Issue
Block a user