From 35deaefe2a198508903c5657a0fa7cb2ad60f56d Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 17 Jul 2024 14:20:23 +0800
Subject: [PATCH]  Patch:IGKBoard-IMX8MP: Add WM8960 audio codec support

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

diff --git a/yocto/meta-igkboard/images/yocto-image-full.bb b/yocto/meta-igkboard/images/yocto-image-full.bb
index e4b6891..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"
@@ -44,7 +46,8 @@
 "
 
 CORE_IMAGE_EXTRA_INSTALL_BASE += " \
-    kernel-modules \
+    kernel-modules hello-app hello-mod \
+    rtl8188fu rtl8723du \
     firmwared linux-firmware \
     powertop tzdata ppp vim \
     xz lrzsz rsync dos2unix \
@@ -52,7 +55,7 @@
     hostapd wireless-tools iw \
     i2c-tools spidev-test spitools \
     libgpiod libgpiod-tools \
-    fb-test fbgrab libdrm \
+    fb-test fbgrab libdrm ffmpeg \
     opencv zbar v4l-utils yavta \
     alsa-state pulseaudio-server \
     python3 python3-pip tmux \
@@ -63,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