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>
This commit is contained in:
Christopher Clark 2020-12-23 17:03:10 -08:00 committed by Bruce Ashfield
parent cf5a9a95cc
commit 1ebde9be9a

View File

@ -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)"