diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-12-23 17:03:10 -0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-12-28 22:54:16 -0500 |
commit | 1ebde9be9a10df83243baa840913ad37c2a2ed3f (patch) | |
tree | b1d12dfe42613374e1e8ae40e917dd6d4d1c9c0c /dynamic-layers/raspberrypi | |
parent | cf5a9a95ccfa7b8881a1a063299836b60d5bd529 (diff) | |
download | meta-virtualization-1ebde9be9a10df83243baa840913ad37c2a2ed3f.tar.gz |
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.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'dynamic-layers/raspberrypi')
-rw-r--r-- | dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend | 4 |
1 files 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 85d6febe..2a0416f7 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}" | |||
5 | XEN_LINUX_CMDLINE ?= "console=hvc0 clk_ignore_unused earlycon=xenboot debug root=/dev/mmcblk0p2 rootwait" | 5 | XEN_LINUX_CMDLINE ?= "console=hvc0 clk_ignore_unused earlycon=xenboot debug root=/dev/mmcblk0p2 rootwait" |
6 | CMDLINE = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', '${XEN_LINUX_CMDLINE}', '${DEFAULT_CMDLINE}', d)}" | 6 | CMDLINE = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', '${XEN_LINUX_CMDLINE}', '${DEFAULT_CMDLINE}', d)}" |
7 | 7 | ||
8 | KBRANCH_raspberrypi4-64 = "standard/bcm-2xxx-rpi" | 8 | KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi" |
9 | KMACHINE_raspberrypi4-64 = "bcm-2xxx-rpi4" | 9 | KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4" |
10 | COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)" | 10 | COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)" |