mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-16 03:47:19 +00:00
e57163cf06
binutils 2.39 changed the signature of init_disassemble_info(), which now causes perf and bpftool to fail to compile. Relevant binutils commit: [1] There is a proper fix in development upstream[2]. This is a work-around for older kernels. [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=60a3da00bd5407f07d64dff82a4dae98230dfaac [2] https://patchwork.kernel.org/project/netdevbpf/cover/20220801013834.156015-1-andres@anarazel.de/ Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
13 lines
560 B
Plaintext
13 lines
560 B
Plaintext
FILESEXTRAPATHS:prepend:gem5-arm64 := "${THISDIR}:${THISDIR}/files:"
|
|
|
|
COMPATIBLE_MACHINE:gem5-arm64 = "gem5-arm64"
|
|
KMACHINE:gem5-arm64 = "gem5-arm64"
|
|
SRC_URI:append:gem5-arm64 = " file://gem5-kmeta;type=kmeta;name=gem5-kmeta;destsuffix=gem5-kmeta \
|
|
file://dts/gem5-arm64;subdir=add-files \
|
|
file://init_disassemble_info-signature-changes-causes-compile-failures.patch"
|
|
|
|
do_patch:append:gem5-arm64() {
|
|
tar -C ${WORKDIR}/add-files/dts -cf - gem5-arm64 | \
|
|
tar -C arch/arm64/boot/dts -xf -
|
|
}
|