diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-02-21 12:45:59 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-22 23:57:26 +0000 |
commit | b44f3d0d70901a9e7184bf4190734ecc7f29adb6 (patch) | |
tree | f5d88fd3e5a272aaeb1742c8f99e27e0a1b8dfbe /meta/recipes-kernel | |
parent | f55a12702b43762a093539b04c66f55df7c187ab (diff) | |
download | poky-b44f3d0d70901a9e7184bf4190734ecc7f29adb6.tar.gz |
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>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb | 4 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_5.4.bb | 18 |
3 files changed, 12 insertions, 12 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb index 94a8e052e7..2a35e33830 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb | |||
@@ -11,7 +11,7 @@ python () { | |||
11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | 11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") |
12 | } | 12 | } |
13 | 13 | ||
14 | SRCREV_machine ?= "2f533134cfb54b0f77e39a9a9108836aafc3eea1" | 14 | SRCREV_machine ?= "97cb5fe4e4fa529a5b8165c4f84182d2d4751b39" |
15 | SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de" | 15 | SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de" |
16 | 16 | ||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ |
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb index 622f5e60c0..463451fa35 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb | |||
@@ -15,8 +15,8 @@ DEPENDS += "openssl-native util-linux-native" | |||
15 | KMETA = "kernel-meta" | 15 | KMETA = "kernel-meta" |
16 | KCONF_BSP_AUDIT_LEVEL = "2" | 16 | KCONF_BSP_AUDIT_LEVEL = "2" |
17 | 17 | ||
18 | SRCREV_machine_qemuarm ?= "b73dad53d5bfa6b53f56a9022dd9f965d47c93e2" | 18 | SRCREV_machine_qemuarm ?= "f0aeaeffb8ba6d0c24f9f0212fd7a11866c918b8" |
19 | SRCREV_machine ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece" | 19 | SRCREV_machine ?= "f4d7dbafb103e4f782323017c239c548871c1567" |
20 | SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de" | 20 | SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de" |
21 | 21 | ||
22 | PV = "${LINUX_VERSION}+git${SRCPV}" | 22 | PV = "${LINUX_VERSION}+git${SRCPV}" |
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.4.bb b/meta/recipes-kernel/linux/linux-yocto_5.4.bb index feb89780ea..5dd7b68063 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.4.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.4.bb | |||
@@ -12,15 +12,15 @@ KBRANCH_qemux86 ?= "v5.4/standard/base" | |||
12 | KBRANCH_qemux86-64 ?= "v5.4/standard/base" | 12 | KBRANCH_qemux86-64 ?= "v5.4/standard/base" |
13 | KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64" | 13 | KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64" |
14 | 14 | ||
15 | SRCREV_machine_qemuarm ?= "65ea2729e3e6a8db8512a80a9838a975ca38f1b3" | 15 | SRCREV_machine_qemuarm ?= "aa91aac123d12d9d4f420862238a437781fe3825" |
16 | SRCREV_machine_qemuarm64 ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece" | 16 | SRCREV_machine_qemuarm64 ?= "f4d7dbafb103e4f782323017c239c548871c1567" |
17 | SRCREV_machine_qemumips ?= "75b3ff96ee76cdfbf5320ddf97b1c929bb8400c8" | 17 | SRCREV_machine_qemumips ?= "6cb162ab5262318fc52a7cbef86afcf48c6b2449" |
18 | SRCREV_machine_qemuppc ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece" | 18 | SRCREV_machine_qemuppc ?= "f4d7dbafb103e4f782323017c239c548871c1567" |
19 | SRCREV_machine_qemuriscv64 ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece" | 19 | SRCREV_machine_qemuriscv64 ?= "f4d7dbafb103e4f782323017c239c548871c1567" |
20 | SRCREV_machine_qemux86 ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece" | 20 | SRCREV_machine_qemux86 ?= "f4d7dbafb103e4f782323017c239c548871c1567" |
21 | SRCREV_machine_qemux86-64 ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece" | 21 | SRCREV_machine_qemux86-64 ?= "f4d7dbafb103e4f782323017c239c548871c1567" |
22 | SRCREV_machine_qemumips64 ?= "419af24bb95f01a2106b7cf25b0adc965368d486" | 22 | SRCREV_machine_qemumips64 ?= "fcbec8b4f0f2f24a31ce5c6e6439c69f7512fb31" |
23 | SRCREV_machine ?= "239eea7ef5dd5ec7ce6712ea6fc8e9ba9bd49ece" | 23 | SRCREV_machine ?= "f4d7dbafb103e4f782323017c239c548871c1567" |
24 | SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de" | 24 | SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de" |
25 | 25 | ||
26 | # remap qemuarm to qemuarma15 for the 5.4 kernel | 26 | # remap qemuarm to qemuarma15 for the 5.4 kernel |