From 87a2bbbb514eb432ab9c663a679ec7132c96ffde Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Thu, 28 Mar 2024 21:06:45 +0800 Subject: [PATCH] Build:Yocto:IGKBoard-All:Update Yocto build shell script --- yocto/meta-igkboard/images/yocto-image-full.bb | 30 +++++++++++++++++++++++++----- 1 files changed, 25 insertions(+), 5 deletions(-) diff --git a/yocto/meta-igkboard/images/yocto-image-full.bb b/yocto/meta-igkboard/images/yocto-image-full.bb index e167808..e4b6891 100644 --- a/yocto/meta-igkboard/images/yocto-image-full.bb +++ b/yocto/meta-igkboard/images/yocto-image-full.bb @@ -1,4 +1,4 @@ -SUMMARY = "A console lite image for production" +SUMMARY = "A multimedia wth full command image for production" LICENSE = "MIT" inherit core-image @@ -27,7 +27,7 @@ CONFLICT_DISTRO_FEATURES = "directfb" -CORE_IMAGE_EXTRA_INSTALL += " \ +CORE_IMAGE_EXTRA_INSTALL_BASE += " \ packagegroup-base-wifi \ packagegroup-imx-isp \ packagegroup-imx-security \ @@ -37,27 +37,46 @@ packagegroup-core-ssh-openssh \ packagegroup-fsl-gstreamer1.0 \ packagegroup-fsl-gstreamer1.0-full \ + packagegroup-fsl-tools-benchmark \ + packagegroup-fsl-opencv-imx \ packagegroup-qt6-modules \ packagegroup-misc-utils \ " -CORE_IMAGE_EXTRA_INSTALL += " \ +CORE_IMAGE_EXTRA_INSTALL_BASE += " \ kernel-modules \ firmwared linux-firmware \ powertop tzdata ppp vim \ xz lrzsz rsync dos2unix \ gnupg parted inetutils \ hostapd wireless-tools iw \ - i2c-tools spidev-test \ + i2c-tools spidev-test spitools \ libgpiod libgpiod-tools \ + fb-test fbgrab libdrm \ opencv zbar v4l-utils yavta \ alsa-state pulseaudio-server \ python3 python3-pip tmux \ openssh-sftp openssh-sftp-server \ memtester pcsc-tools stunnel ntp \ curl evtest cpufrequtils iperf3 \ - dosfstools ethtool iproute2 \ + dosfstools ethtool iproute2 modemmanager \ e2fsprogs-mke2fs e2fsprogs-resize2fs \ + cryptodev-module openssl-bin \ + libsocketcan can-utils canutils \ +" + +# For machine igkboard-imx6ull +CORE_IMAGE_EXTRA_INSTALL = " \ + ${CORE_IMAGE_EXTRA_INSTALL_BASE} \ +" + +# For machine igkboard-imx8mp +CORE_IMAGE_EXTRA_INSTALL:igkboard-imx8mp = " \ + ${CORE_IMAGE_EXTRA_INSTALL_BASE} \ + packagegroup-fsl-tools-gpu \ + packagegroup-fsl-tools-gpu-external \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston-init', '', d)} \ + git gcc gcc-symlinks binutils automake cmake autoconf freerdp \ " modify_rootfs() { @@ -86,6 +105,7 @@ rm -rf ${IMAGE_ROOTFS}/lib/firmware/* mv ${IMAGE_ROOTFS}/lib/firmware/.bak/* ${IMAGE_ROOTFS}/lib/firmware/ + rm -rf ${IMAGE_ROOTFS}/lib/firmware/imx*.elf rm -rf ${IMAGE_ROOTFS}/lib/firmware/.bak } -- Gitblit v1.9.1