From 5d63e825026b764f132ea63827373c14f6523d7e Mon Sep 17 00:00:00 2001 From: eduard Date: Fri, 4 Jun 2021 08:08:57 +0000 Subject: [PATCH] Add somdevices recipes full multimedia qt5 --- recipes-somdevices/images/somdevices-full.bb | 22 ++++++++ .../images/somdevices-multimedia.bb | 48 +++++++++++++++++ .../images/somdevices-qt5-validation.bb | 51 +++++++++++++++++++ 3 files changed, 121 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..b4fa2fd --- /dev/null +++ b/recipes-somdevices/images/somdevices-full.bb @@ -0,0 +1,22 @@ +# Copyright (C) 2015 Freescale Semiconductor +# Copyright 2017-2019 NXP +# Released under the MIT license (see COPYING.MIT for the terms) + +require somdevices-multimedia.bb + +CONFLICT_DISTRO_FEATURES = "directfb" + +ML_PKGS ?= "" +ML_PKGS_mx8 = "packagegroup-imx-ml" +ML_PKGS_mx8dxl-phantom = "" + +OPENCV_PKGS ?= "" +OPENCV_PKGS_append_imxgpu = " \ + opencv-apps \ + opencv-samples \ + python3-opencv \ +" +IMAGE_INSTALL += " \ + ${OPENCV_PKGS} \ + ${ML_PKGS} \ +" diff --git a/recipes-somdevices/images/somdevices-multimedia.bb b/recipes-somdevices/images/somdevices-multimedia.bb new file mode 100644 index 0000000..8ea7904 --- /dev/null +++ b/recipes-somdevices/images/somdevices-multimedia.bb @@ -0,0 +1,48 @@ +# Copyright (C) 2015 Freescale Semiconductor +# Copyright 2017-2019 NXP +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "NXP Image to validate i.MX machines. \ +This image contains everything used to test i.MX machines including GUI, \ +demos and lots of applications. This creates a very large image, not \ +suitable for production." +LICENSE = "MIT" + +require somdevices-minimal.bb + +### WARNING: This image is NOT suitable for production use and is intended +### to provide a way for users to reproduce the image used during +### the validation process of i.MX BSP releases. + +## Select Image Features +IMAGE_FEATURES += " \ + debug-tweaks \ + tools-profile \ + package-management \ + splash \ + nfs-server \ + tools-debug \ + ssh-server-dropbear \ + tools-testapps \ + hwcodecs \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base x11-sato', \ + '', d), d)} \ +" +ERPC_COMPS ?= "" +ERPC_COMPS_append_mx7ulp = "packagegroup-imx-erpc" + +CORE_IMAGE_EXTRA_INSTALL += " \ + packagegroup-core-full-cmdline \ + packagegroup-tools-bluetooth \ + packagegroup-fsl-tools-audio \ + packagegroup-fsl-tools-gpu \ + packagegroup-fsl-tools-gpu-external \ + packagegroup-fsl-tools-testapps \ + packagegroup-fsl-tools-benchmark \ + packagegroup-fsl-gstreamer1.0 \ + packagegroup-fsl-gstreamer1.0-full \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston-init', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'weston-xwayland xterm', '', d)} \ + ${ERPC_COMPS} \ +" diff --git a/recipes-somdevices/images/somdevices-qt5-validation.bb b/recipes-somdevices/images/somdevices-qt5-validation.bb new file mode 100644 index 0000000..53caa1d --- /dev/null +++ b/recipes-somdevices/images/somdevices-qt5-validation.bb @@ -0,0 +1,51 @@ +DESCRIPTION = "NXP Image - Adds Qt5" +LICENSE = "MIT" + +require somdevices-full.bb + +IMAGE_INSTALL += " \ + packagegroup-qt5-imx \ + packagegroup-qt5-webengine \ + packagegroup-qt5-toolchain-target \ + sshd \ + python-pyserial \ + dhcp-client \ + iw \ + wpa-supplicant \ + i2c-tools \ + alsa-utils \ + ppp \ + tzdata \ + python-six \ + bluez5 \ + iproute2 \ + can-utils \ + python-future \ + python-pprint \ + python-difflib \ + python-modules \ + python-requests \ + usb-modeswitch \ + avahi-utils \ + cmake \ + libogg \ + protobuf \ + protobuf-c \ + libevdev \ + libevent \ + libev \ + vorbis-tools \ + tremor \ + nodejs \ + hostapd \ + nodejs-npm \ + python-pip \ + dnsmasq \ + packagegroup-sdk-target \ + qtwebkit \ + qtwebkit-dev \ + iperf2 \ + evtest \ + fb-test \ + fontconfig \ +" -- 2.17.1