[meta-arm,3/6] arm-bsp/linux-stable: move corstone700 tweaks to versioned bbappend

Submitted by Ross Burton on Nov. 10, 2020, 3:52 p.m. | Patch ID: 178116

Details

Message ID 20201110155216.1313151-3-ross.burton@arm.com
State New
Headers show

Commit Message

Ross Burton Nov. 10, 2020, 3:52 p.m.
The corstone700-specific tweaks should be applied to just the 5.6
version of the linux-stable recipe, not all of them.  By appending all
of the versions they *all* become 5.6.14, which makes it impossible to
know what recipe is actually being used.

Change-Id: I77ccc1f16003fea7b6356732587c6947b20a2f4c
Signed-off-by: Ross Burton <ross.burton@arm.com>

---
 meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend | 8 --------
 .../recipes-kernel/linux/linux-stable_5.6%.bbappend       | 7 +++++++
 2 files changed, 7 insertions(+), 8 deletions(-)
 create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-stable_5.6%.bbappend

-- 
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1356): https://lists.yoctoproject.org/g/meta-arm/message/1356
Mute This Topic: https://lists.yoctoproject.org/mt/78162029/1003190
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
index e4b2c11..db850ea 100644
--- a/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
@@ -1,11 +1,3 @@ 
 # Add support for Arm Platforms (boards or simulators)
 
 require linux-arm-platforms.inc
-
-#
-# Corstone700 KMACHINE
-#
-MACHINE_KERNEL_REQUIRE ?= ""
-MACHINE_KERNEL_REQUIRE_corstone700 = "linux-stable-corstone700.inc"
-
-require ${MACHINE_KERNEL_REQUIRE}
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-stable_5.6%.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-stable_5.6%.bbappend
new file mode 100644
index 0000000..3793fad
--- /dev/null
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-stable_5.6%.bbappend
@@ -0,0 +1,7 @@ 
+#
+# Corstone700 KMACHINE
+#
+MACHINE_KERNEL_REQUIRE ?= ""
+MACHINE_KERNEL_REQUIRE_corstone700 = "linux-stable-corstone700.inc"
+
+require ${MACHINE_KERNEL_REQUIRE}