mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
kernel/kernel-devsrc: powerpc: add elfutils dependency
When working on 6.3+ kernel support powerpc started to fail when doing on target kerne module builds, and in some cases when building the kernel itself. This was due to crtsavres requiring objtool to build, which was missing required development headers. So in a similar manner to x86, we add elfutils as an arch specific dependency in these recipes. (From OE-Core rev: 14b815b0beb6edc14b4fcc016201ade967875e28) 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
c40a2eb5eb
commit
0544310d60
@@ -382,6 +382,8 @@ RDEPENDS:${PN} = "bc python3 flex bison ${TCLIBC}-utils"
|
||||
RDEPENDS:${PN} += "openssl-dev util-linux"
|
||||
# and x86 needs a bit more for 4.15+
|
||||
RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-dev', '', d)}"
|
||||
# powerpc needs elfutils on 6.3+
|
||||
RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'powerpc', '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