* [PATCH] xen, linux-yocto-dev, RPi4: weaker assign for KBRANCH and KMACHINE
@ 2020-12-24 1:03 Christopher Clark
2020-12-29 3:54 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Christopher Clark @ 2020-12-24 1:03 UTC (permalink / raw)
To: meta-virtualization; +Cc: cardoe, bruce.ashfield
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.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
---
.../raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend
index 85d6feb..2a0416f 100644
--- a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend
+++ b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend
@@ -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)"
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] xen, linux-yocto-dev, RPi4: weaker assign for KBRANCH and KMACHINE
2020-12-24 1:03 [PATCH] xen, linux-yocto-dev, RPi4: weaker assign for KBRANCH and KMACHINE Christopher Clark
@ 2020-12-29 3:54 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2020-12-29 3:54 UTC (permalink / raw)
To: Christopher Clark; +Cc: meta-virtualization, cardoe
merged.
Bruce
In message: [PATCH] xen, linux-yocto-dev, RPi4: weaker assign for KBRANCH and KMACHINE
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.
>
> Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
> ---
> .../raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend
> index 85d6feb..2a0416f 100644
> --- a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend
> +++ b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend
> @@ -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)"
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-29 3:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-24 1:03 [PATCH] xen, linux-yocto-dev, RPi4: weaker assign for KBRANCH and KMACHINE Christopher Clark
2020-12-29 3:54 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.