Skip to contentSkip to conversation

yocto-bsps/5.2: backport perf build fix for latest binutils

PATCH New Bruce Ashfield 1 participant 2 messages Mar 4, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 yocto-bsps/5.2: backport perf build fix for latest binutils

From: Bruce Ashfield <[email protected]>

[
Author: Changbin Du <[email protected]>
Date: Tue Jan 28 23:29:38 2020 +0800

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.

]

---
 .../recipes-kernel/linux/linux-yocto_5.2.bbappend         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.2.bbappend +4 -4
index 9a965321df..a0a4222e61 100644
@@ -7,10 +7,10 @@ KMACHINE_genericx86 ?= "common-pc"
 KMACHINE_genericx86-64 ?= "common-pc-64"
 KMACHINE_beaglebone-yocto ?= "beaglebone"
 
-SRCREV_machine_genericx86    ?= "25b14cdf9659c68ab32d66616dfdbbe2ece3fd94"
-SRCREV_machine_genericx86-64 ?= "25b14cdf9659c68ab32d66616dfdbbe2ece3fd94"
-SRCREV_machine_edgerouter ?= "25b14cdf9659c68ab32d66616dfdbbe2ece3fd94"
-SRCREV_machine_beaglebone-yocto ?= "25b14cdf9659c68ab32d66616dfdbbe2ece3fd94"
+SRCREV_machine_genericx86 ?= "73b12de4c879e4569bef3b2d0ee9c783a9788b27"
+SRCREV_machine_genericx86-64 ?= "73b12de4c879e4569bef3b2d0ee9c783a9788b27"
+SRCREV_machine_edgerouter ?= "73b12de4c879e4569bef3b2d0ee9c783a9788b27"
+SRCREV_machine_beaglebone-yocto ?= "73b12de4c879e4569bef3b2d0ee9c783a9788b27"
 
 COMPATIBLE_MACHINE_genericx86 = "genericx86"
 COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
Signature · 1 line
2.19.1
#1 lore raw

PATCH 2/2 yocto-bsps: drop 5.2 bbappend

From: Bruce Ashfield <[email protected]>

The 5.2 recipes have been dropped from oe-core, so we drop the 5.2 bbappends to match.

---
 .../linux/linux-yocto_5.2.bbappend            | 23 -------------------
 1 file changed, 23 deletions(-)
 delete mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.2.bbappend
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.2.bbappend deleted +0 -23
deleted file mode 100644
index a0a4222e61..0000000000
@@ -1,23 +0,0 @@
-KBRANCH_genericx86  = "v5.2/standard/base"
-KBRANCH_genericx86-64  = "v5.2/standard/base"
-KBRANCH_edgerouter = "v5.2/standard/edgerouter"
-KBRANCH_beaglebone-yocto = "v5.2/standard/beaglebone"
-
-KMACHINE_genericx86 ?= "common-pc"
-KMACHINE_genericx86-64 ?= "common-pc-64"
-KMACHINE_beaglebone-yocto ?= "beaglebone"
-
-SRCREV_machine_genericx86 ?= "73b12de4c879e4569bef3b2d0ee9c783a9788b27"
-SRCREV_machine_genericx86-64 ?= "73b12de4c879e4569bef3b2d0ee9c783a9788b27"
-SRCREV_machine_edgerouter ?= "73b12de4c879e4569bef3b2d0ee9c783a9788b27"
-SRCREV_machine_beaglebone-yocto ?= "73b12de4c879e4569bef3b2d0ee9c783a9788b27"
-
-COMPATIBLE_MACHINE_genericx86 = "genericx86"
-COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
-COMPATIBLE_MACHINE_edgerouter = "edgerouter"
-COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
-
-LINUX_VERSION_genericx86 = "5.2.17"
-LINUX_VERSION_genericx86-64 = "5.2.17"
-LINUX_VERSION_edgerouter = "5.2.17"
-LINUX_VERSION_beaglebone-yocto = "5.2.17"
Signature · 1 line
2.19.1