kirkstone migration: fix mesa build on ccmp15-dvk
An outdated 'mesa' bbappend on meta-st-stm32mp is making mesa package fail to build, due to incorrect configure options. mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro requires dri3 for X11 support Override the build configuration in our layer until the bbappend gets fixed in ST layer. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
8a34234f61
commit
786e5c9e56
|
|
@ -0,0 +1,17 @@
|
|||
# Copyright (C) 2022 Digi International.
|
||||
|
||||
#
|
||||
# The bbappend in 'meta-st-stm32mp' layer misconfigured the PACKAGECONFIG
|
||||
# options of the mesa package, leading to a build failure. This bbappends
|
||||
# overrides the build configuration.
|
||||
#
|
||||
# @TODO: remove once the bbappend in 'meta-st-stm32mp' is fixed.
|
||||
#
|
||||
PACKAGECONFIG:ccmp15 = " \
|
||||
gallium \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'x11 vulkan wayland', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm virgl', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'dri3', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \
|
||||
${@bb.utils.contains('TCLIBC', 'glibc', 'elf-tls', '', d)} \
|
||||
"
|
||||
Loading…
Reference in New Issue