meta-somdevices: Added somdevices-multimedia, somdevices-full and somdevices-qt5...
authorJosep Orga <jorga@somdevices.com>
Thu, 30 Dec 2021 15:37:23 +0000 (16:37 +0100)
committerJosep Orga <jorga@somdevices.com>
Thu, 30 Dec 2021 15:37:23 +0000 (16:37 +0100)
TODO: Add qtwebkit and qtwebkit-dev to somdevices-qt5-validation image.

Signed-off-by: Josep Orga <jorga@somdevices.com>
recipes-somdevices/images/somdevices-full.bb [new file with mode: 0644]
recipes-somdevices/images/somdevices-multimedia.bb [new file with mode: 0644]
recipes-somdevices/images/somdevices-qt5-validation.bb [new file with mode: 0644]

diff --git a/recipes-somdevices/images/somdevices-full.bb b/recipes-somdevices/images/somdevices-full.bb
new file mode 100644 (file)
index 0000000..95c97f8
--- /dev/null
@@ -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 (file)
index 0000000..ea2ab4e
--- /dev/null
@@ -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 (file)
index 0000000..75c42b0
--- /dev/null
@@ -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 \
+"