virtual/libgbm should be set to either libmali-xlnx or mesa, depending on if
the proprietary libmali is enabled or not.
I'm working on a different patch that unifies all of this stuff between
receipes and system configuration. I'm not sure when it will be done, but the
dependency on 'virtual/libgbm', in this case, is correct based on that.
--Mark
On 3/13/23 9:24 AM, Gundlupet Raju, Sandeep wrote:
Hi Kevin,
Thanks for the patch, it looks good to me. We will run through CI and integrate
to branch once passed.
Thanks,
Sandeep
On 3/13/2023 5:41 AM, Kevin Hao wrote:
For the machines which use the libgbm provided by mesa, since the gbm
is only enabled in mesa when the opengl distro feature is enabled,
adding the dependency on virtual/libgbm for xserver-xorg
unconditionally will break the build of these machines if the opengl
distro feature is not enabled.
There is no such restriction for the machines which use the libgbm
provided by the libmali-xlnx, so only add the virtual/libgbm dependency
for xserver-xorg when the mali400 machine feature is enabled.
Signed-off-by: Kevin Hao <[email protected]>
---
.../recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/meta-xilinx-core/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
b/meta-xilinx-core/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
index a3941df24273..037833fb61b2 100644
--- a/meta-xilinx-core/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
+++ b/meta-xilinx-core/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
@@ -1 +1 @@
-DEPENDS:append = " virtual/libgbm"
+DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', '
virtual/libgbm', '', d)}"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5177):
https://lists.yoctoproject.org/g/meta-xilinx/message/5177
Mute This Topic: https://lists.yoctoproject.org/mt/97579913/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-