From b96bc188ee00b4ccfb80e5af4fd2f67df22e88fc Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 16 Jun 2024 01:34:52 +0800
Subject: [PATCH] Add ffmpeg support in yocto-image-full

---
 yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf  |    2 ++
 yocto/meta-igkboard/images/yocto-image-full.bb       |    2 +-
 yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf |    2 ++
 3 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf b/yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf
index 2a1cc00..5fb8429 100644
--- a/yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf
+++ b/yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf
@@ -19,6 +19,8 @@
 #DL_DIR ?= "${HOME}/oe-sources-yocto/"
 ACCEPT_FSL_EULA = "1"
 
+LICENSE_FLAGS_ACCEPTED = "commercial"
+
 # Switch to Debian packaging and include package-management in the image
 PACKAGE_CLASSES = "package_deb"
 EXTRA_IMAGE_FEATURES += "package-management"
diff --git a/yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf b/yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf
index 21108a5..0b9c6f2 100644
--- a/yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf
+++ b/yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf
@@ -19,6 +19,8 @@
 #DL_DIR ?= "${HOME}/oe-sources-yocto/"
 ACCEPT_FSL_EULA = "1"
 
+LICENSE_FLAGS_ACCEPTED = "commercial"
+
 # Switch to Debian packaging and include package-management in the image
 PACKAGE_CLASSES = "package_deb"
 EXTRA_IMAGE_FEATURES += "package-management"
diff --git a/yocto/meta-igkboard/images/yocto-image-full.bb b/yocto/meta-igkboard/images/yocto-image-full.bb
index e4b6891..a98c7b4 100644
--- a/yocto/meta-igkboard/images/yocto-image-full.bb
+++ b/yocto/meta-igkboard/images/yocto-image-full.bb
@@ -52,7 +52,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 \

--
Gitblit v1.9.1