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)}"
-- 
2.38.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5172): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5172
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to