Skip to contentSkip to conversation

xen, linux-yocto-dev, RPi4: weaker assign for KBRANCH and KMACHINE

PATCH In review Christopher Clark 2 participants 2 messages Dec 24, 2020 – Dec 29, 2020 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen, linux-yocto-dev, RPi4: weaker assign for KBRANCH and KMACHINE

Switch to use ?= to set KBRANCH_raspberrypi4-64 to make it easier to override elsewhere when needed for switching to a different kernel branch. Also make the same change for KMACHINE_raspberrypi4-64 to match how it is assigned in the meta-yocto-bsp layer.

---
 .../raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend +2 -2
index 85d6feb..2a0416f 100644
@@ -5,6 +5,6 @@ DEFAULT_CMDLINE := "${CMDLINE}"
 XEN_LINUX_CMDLINE ?= "console=hvc0 clk_ignore_unused earlycon=xenboot debug root=/dev/mmcblk0p2 rootwait"
 CMDLINE = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', '${XEN_LINUX_CMDLINE}', '${DEFAULT_CMDLINE}', d)}"
 
-KBRANCH_raspberrypi4-64 = "standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 = "bcm-2xxx-rpi4"
+KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
+KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
 COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
Signature · 1 line
2.17.1
#1 lore raw

merged.

Bruce

In message: [PATCH] xen, linux-yocto-dev, RPi4: weaker assign for KBRANCH and KMACHINE

Quoted 26 lines · on 23/12/2020 Christopher Clark wrote:

Switch to use ?= to set KBRANCH_raspberrypi4-64 to make it easier to override elsewhere when needed for switching to a different kernel branch. Also make the same change for KMACHINE_raspberrypi4-64 to match how it is assigned in the meta-yocto-bsp layer.

---
 .../raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend +2 -2
index 85d6feb..2a0416f 100644
@@ -5,6 +5,6 @@ DEFAULT_CMDLINE := "${CMDLINE}"
 XEN_LINUX_CMDLINE ?= "console=hvc0 clk_ignore_unused earlycon=xenboot debug root=/dev/mmcblk0p2 rootwait"
 CMDLINE = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', '${XEN_LINUX_CMDLINE}', '${DEFAULT_CMDLINE}', d)}"
 
-KBRANCH_raspberrypi4-64 = "standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 = "bcm-2xxx-rpi4"
+KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
+KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
 COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
Signature · 1 line
2.17.1