From bf3c1b67a4b493288310170cc22d3ea3b3e3e781 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 15 Jul 2024 21:04:55 +0800
Subject: [PATCH] Yocto:IGKBoard-All: Add weston desktop support as default

---
 yocto/meta-igkboard/images/yocto-image-full.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/yocto/meta-igkboard/images/yocto-image-full.bb b/yocto/meta-igkboard/images/yocto-image-full.bb
index 0401590..c31a3f9 100644
--- a/yocto/meta-igkboard/images/yocto-image-full.bb
+++ b/yocto/meta-igkboard/images/yocto-image-full.bb
@@ -23,6 +23,8 @@
     hwcodecs \
     ssh-server-openssh \
     package-management \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \
+       bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base x11-sato', '', d), d)} \
 "
 
 CONFLICT_DISTRO_FEATURES = "directfb"
@@ -64,6 +66,7 @@
     e2fsprogs-mke2fs e2fsprogs-resize2fs \
     cryptodev-module openssl-bin \
     libsocketcan can-utils canutils \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'weston-xwayland xterm', '', d)} \
 "
 
 # For machine igkboard-imx6ull

--
Gitblit v1.9.1