mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
linux-yocto: perf: Make perf able to build with latest libbfd
Khem pointed out that we need to backport the following change to get
perf building with the latest binutils:
commit 0ada120c883d4f1f6 upstream:
[
Subject: perf: Make perf able to build with latest libbfd
libbfd has changed the bfd_section_* macros to inline functions
bfd_section_<field> since 2019-09-18. See below two commits:
o http://www.sourceware.org/ml/gdb-cvs/2019-09/msg00064.html
o https://www.sourceware.org/ml/gdb-cvs/2019-09/msg00072.html
This fix make perf able to build with both old and new libbfd.
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20200128152938.31413-1-changbin.du@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
]
Reported-by: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 16e943690bdbdf2e60a2fe33950697278018c7d1)
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
f55a12702b
commit
b44f3d0d70
@@ -11,7 +11,7 @@ python () {
|
||||
raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
|
||||
}
|
||||
|
||||
SRCREV_machine ?= "2f533134cfb54b0f77e39a9a9108836aafc3eea1"
|
||||
SRCREV_machine ?= "97cb5fe4e4fa529a5b8165c4f84182d2d4751b39"
|
||||
SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de"
|
||||
|
||||
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
|
||||
|
||||
@@ -15,8 +15,8 @@ DEPENDS += "openssl-native util-linux-native"
|
||||
KMETA = "kernel-meta"
|
||||
KCONF_BSP_AUDIT_LEVEL = "2"
|
||||
|
||||
SRCREV_machine_qemuarm ?= "b73dad53d5bfa6b53f56a9022dd9f965d47c93e2"
|
||||
SRCREV_machine ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece"
|
||||
SRCREV_machine_qemuarm ?= "f0aeaeffb8ba6d0c24f9f0212fd7a11866c918b8"
|
||||
SRCREV_machine ?= "f4d7dbafb103e4f782323017c239c548871c1567"
|
||||
SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de"
|
||||
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
@@ -12,15 +12,15 @@ KBRANCH_qemux86 ?= "v5.4/standard/base"
|
||||
KBRANCH_qemux86-64 ?= "v5.4/standard/base"
|
||||
KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64"
|
||||
|
||||
SRCREV_machine_qemuarm ?= "65ea2729e3e6a8db8512a80a9838a975ca38f1b3"
|
||||
SRCREV_machine_qemuarm64 ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece"
|
||||
SRCREV_machine_qemumips ?= "75b3ff96ee76cdfbf5320ddf97b1c929bb8400c8"
|
||||
SRCREV_machine_qemuppc ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece"
|
||||
SRCREV_machine_qemuriscv64 ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece"
|
||||
SRCREV_machine_qemux86 ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece"
|
||||
SRCREV_machine_qemux86-64 ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece"
|
||||
SRCREV_machine_qemumips64 ?= "419af24bb95f01a2106b7cf25b0adc965368d486"
|
||||
SRCREV_machine ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece"
|
||||
SRCREV_machine_qemuarm ?= "aa91aac123d12d9d4f420862238a437781fe3825"
|
||||
SRCREV_machine_qemuarm64 ?= "f4d7dbafb103e4f782323017c239c548871c1567"
|
||||
SRCREV_machine_qemumips ?= "6cb162ab5262318fc52a7cbef86afcf48c6b2449"
|
||||
SRCREV_machine_qemuppc ?= "f4d7dbafb103e4f782323017c239c548871c1567"
|
||||
SRCREV_machine_qemuriscv64 ?= "f4d7dbafb103e4f782323017c239c548871c1567"
|
||||
SRCREV_machine_qemux86 ?= "f4d7dbafb103e4f782323017c239c548871c1567"
|
||||
SRCREV_machine_qemux86-64 ?= "f4d7dbafb103e4f782323017c239c548871c1567"
|
||||
SRCREV_machine_qemumips64 ?= "fcbec8b4f0f2f24a31ce5c6e6439c69f7512fb31"
|
||||
SRCREV_machine ?= "f4d7dbafb103e4f782323017c239c548871c1567"
|
||||
SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de"
|
||||
|
||||
# remap qemuarm to qemuarma15 for the 5.4 kernel
|
||||
|
||||
Reference in New Issue
Block a user