mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 15:56:57 +00:00
e0b4b8c5df
To allow other layers to easily provide a default kernel preference to use with the Raspberry Pi MACHINEs, switch to use the ??= assignment operator for setting the default kernel and the device tree value in this layer. This change is motivated by enabling Xen support in meta-virtualization to use the raspberrypi4-64 MACHINE definition from this layer with the Yocto Linux kernels. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
16 lines
922 B
PHP
16 lines
922 B
PHP
# RaspberryPi BSP default providers
|
|
|
|
PREFERRED_PROVIDER_virtual/kernel ??= "linux-raspberrypi"
|
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
|
PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}"
|
|
PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}"
|
|
PREFERRED_PROVIDER_virtual/libgl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
|
|
PREFERRED_PROVIDER_virtual/mesa ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
|
|
PREFERRED_PROVIDER_virtual/libgbm ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
|
|
PREFERRED_PROVIDER_jpeg ?= "jpeg"
|
|
|
|
PREFERRED_PROVIDER_virtual/libomxil ?= "userland"
|
|
VIRTUAL-RUNTIME_libomxil = "userland"
|
|
|
|
PREFERRED_PROVIDER_u-boot-default-script ??= "rpi-u-boot-scr"
|