From a89cdf5633b7f51e4ad9f71777dfa96beb696611 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Thu, 30 Dec 2021 16:37:23 +0100 Subject: [PATCH] meta-somdevices: Added somdevices-multimedia, somdevices-full and somdevices-qt5-validation images. TODO: Add qtwebkit and qtwebkit-dev to somdevices-qt5-validation image. Signed-off-by: Josep Orga --- recipes-somdevices/images/somdevices-full.bb | 39 ++++++++++++++++ .../images/somdevices-multimedia.bb | 27 ++++++++++++ .../images/somdevices-qt5-validation.bb | 44 +++++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 recipes-somdevices/images/somdevices-full.bb create mode 100644 recipes-somdevices/images/somdevices-multimedia.bb create mode 100644 recipes-somdevices/images/somdevices-qt5-validation.bb diff --git a/recipes-somdevices/images/somdevices-full.bb b/recipes-somdevices/images/somdevices-full.bb new file mode 100644 index 0000000..95c97f8 --- /dev/null +++ b/recipes-somdevices/images/somdevices-full.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "SOMDEVICES Image - Add Qt5" +LICENSE = "MIT" + +require somdevices-multimedia.bb + +inherit populate_sdk_qt5 + +CONFLICT_DISTRO_FEATURES = "directfb" + +# Add machine learning for certain SoCs +ML_PKGS ?= "" +ML_STATICDEV ?= "" +ML_PKGS_mx8 = "packagegroup-imx-ml" +ML_STATICDEV_mx8 = "" +ML_PKGS_mx8dxl = "" +ML_STATICDEV_mx8dxl = "" +ML_PKGS_mx8phantomdxl = "" +ML_STATICDEV_mx8phantomdxl = "" +ML_PKGS_mx8mnul = "" +ML_STATICDEV_mx8mnul = "" + +# Add opencv for i.MX GPU +OPENCV_PKGS ?= "" +OPENCV_PKGS_imxgpu = " \ + opencv-apps \ + opencv-samples \ + python3-opencv \ +" + +IMAGE_INSTALL += " \ + ${OPENCV_PKGS} \ + ${ML_PKGS} \ + packagegroup-qt5-imx \ + tzdata \ +" + +TOOLCHAIN_TARGET_TASK += " \ + ${ML_STATICDEV} \ +" diff --git a/recipes-somdevices/images/somdevices-multimedia.bb b/recipes-somdevices/images/somdevices-multimedia.bb new file mode 100644 index 0000000..ea2ab4e --- /dev/null +++ b/recipes-somdevices/images/somdevices-multimedia.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "SOMDEVICES Image - Add multimedia functionalities" +LICENSE = "MIT" + +require somdevices-minimal.bb + +IMAGE_FEATURES += " \ + hwcodecs \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base x11-sato', \ + '', d), d)} \ +" +ERPC_COMPS ?= "" +ERPC_COMPS_append_mx7ulp = "packagegroup-imx-erpc" + +HANTRO_PKGS = "" +HANTRO_PKGS_mx8mm = "imx-vpu-hantro-daemon" +HANTRO_PKGS_mx8mp = "imx-vpu-hantro-daemon" +HANTRO_PKGS_mx8mq = "imx-vpu-hantro-daemon" + +CORE_IMAGE_EXTRA_INSTALL += " \ + packagegroup-fsl-tools-gpu \ + packagegroup-imx-security \ + packagegroup-fsl-gstreamer1.0 \ + packagegroup-fsl-gstreamer1.0-full \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'weston-xwayland xterm', '', d)} \ + ${HANTRO_PKGS} \ +" diff --git a/recipes-somdevices/images/somdevices-qt5-validation.bb b/recipes-somdevices/images/somdevices-qt5-validation.bb new file mode 100644 index 0000000..75c42b0 --- /dev/null +++ b/recipes-somdevices/images/somdevices-qt5-validation.bb @@ -0,0 +1,44 @@ +DESCRIPTION = "SOMDEVICES Image - Add test functionalities" +LICENSE = "MIT" + +require somdevices-full.bb + +IMAGE_FEATURES += " \ + debug-tweaks \ + tools-profile \ + tools-sdk \ + package-management \ + splash \ + nfs-server \ + tools-debug \ + ssh-server-dropbear \ + tools-testapps \ +" + +CORE_IMAGE_EXTRA_INSTALL += " \ + packagegroup-core-full-cmdline \ + packagegroup-tools-bluetooth \ + packagegroup-fsl-tools-audio \ + packagegroup-fsl-tools-gpu-external \ + packagegroup-fsl-tools-testapps \ + packagegroup-fsl-tools-benchmark \ + packagegroup-imx-isp \ + alsa-utils \ + cmake \ + libogg \ + protobuf \ + protobuf-c \ + libevdev \ + libevent \ + libev \ + vorbis-tools \ + tremor \ + nodejs \ + nodejs-npm \ + dnsmasq \ + packagegroup-sdk-target \ + iperf2 \ + evtest \ + fb-test \ + fontconfig \ +" -- 2.17.1