diff --git a/meta-digi-arm/conf/machine/include/digi-defaults.inc b/meta-digi-arm/conf/machine/include/digi-defaults.inc index 8abd7f5c5..05cc96252 100644 --- a/meta-digi-arm/conf/machine/include/digi-defaults.inc +++ b/meta-digi-arm/conf/machine/include/digi-defaults.inc @@ -78,7 +78,7 @@ MACHINE_EXTRA_RRECOMMENDS += "${@bb.utils.contains_any('VIRTUAL-RUNTIME_dev_mana DEFAULT_IMAGE_NAME ??= "dey-image-qt" # List of graphical images names (for install scripts) -GRAPHICAL_IMAGES ?= "dey-image-crank dey-image-qt dey-image-webkit" +GRAPHICAL_IMAGES ?= "dey-image-crank dey-image-qt dey-image-webkit dey-image-lvgl" # Include DEY SELinux policy modifications by default DEY_SELINUX_POLICY ?= "1" diff --git a/meta-digi-dey/conf/distro/dey.conf b/meta-digi-dey/conf/distro/dey.conf index 77960fad1..c00ed9173 100644 --- a/meta-digi-dey/conf/distro/dey.conf +++ b/meta-digi-dey/conf/distro/dey.conf @@ -45,6 +45,7 @@ FEATURE_PACKAGES_dey-crank = "packagegroup-dey-crank" FEATURE_PACKAGES_dey-debug = "packagegroup-dey-debug" FEATURE_PACKAGES_dey-examples = "packagegroup-dey-examples" FEATURE_PACKAGES_dey-gstreamer = "packagegroup-dey-gstreamer" +FEATURE_PACKAGES_dey-lvgl = "packagegroup-dey-lvgl" FEATURE_PACKAGES_dey-network = "packagegroup-dey-network" FEATURE_PACKAGES_dey-qt = "packagegroup-dey-qt" FEATURE_PACKAGES_dey-trustfence = "packagegroup-dey-trustfence" diff --git a/meta-digi-dey/dynamic-layers/selinux/recipes-core/images/dey-image-lvgl.bbappend b/meta-digi-dey/dynamic-layers/selinux/recipes-core/images/dey-image-lvgl.bbappend new file mode 100644 index 000000000..072993cd7 --- /dev/null +++ b/meta-digi-dey/dynamic-layers/selinux/recipes-core/images/dey-image-lvgl.bbappend @@ -0,0 +1 @@ +include selinux_dey.inc diff --git a/meta-digi-dey/recipes-core/images/dey-image-lvgl.bb b/meta-digi-dey/recipes-core/images/dey-image-lvgl.bb new file mode 100644 index 000000000..7d0fc83e9 --- /dev/null +++ b/meta-digi-dey/recipes-core/images/dey-image-lvgl.bb @@ -0,0 +1,8 @@ +# +# Copyright (C) 2023 Digi International. +# +require dey-image-graphical.inc + +DESCRIPTION = "DEY image with LVGL graphical libraries" + +GRAPHICAL_CORE = "lvgl" diff --git a/meta-digi-dey/recipes-digi/swu-images/dey-image-lvgl-swu.bb b/meta-digi-dey/recipes-digi/swu-images/dey-image-lvgl-swu.bb new file mode 100644 index 000000000..e402e85ad --- /dev/null +++ b/meta-digi-dey/recipes-digi/swu-images/dey-image-lvgl-swu.bb @@ -0,0 +1,5 @@ +# Copyright (C) 2023 Digi International Inc. + +require swu.inc + +IMG_NAME = "${@get_baseimg_pn(d)}-${GRAPHICAL_BACKEND}" diff --git a/meta-digi-dey/recipes-graphics/packagegroups/packagegroup-dey-lvgl.bb b/meta-digi-dey/recipes-graphics/packagegroups/packagegroup-dey-lvgl.bb new file mode 100644 index 000000000..f00ea6a1e --- /dev/null +++ b/meta-digi-dey/recipes-graphics/packagegroups/packagegroup-dey-lvgl.bb @@ -0,0 +1,11 @@ +# +# Copyright (C) 2023 Digi International Inc. +# +SUMMARY = "LVGL packagegroup for DEY image" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +inherit packagegroup + +RDEPENDS:${PN} += " \ + lvgl-demo \ +" diff --git a/sdk/config/ccimx6qpsbc/conf-notes.txt b/sdk/config/ccimx6qpsbc/conf-notes.txt index b49f5e14b..7c10edbcf 100644 --- a/sdk/config/ccimx6qpsbc/conf-notes.txt +++ b/sdk/config/ccimx6qpsbc/conf-notes.txt @@ -9,3 +9,8 @@ Digi Embedded Yocto provides the following image recipes: By default the image is XWayland-based so it provides a full Weston desktop environment. + + * dey-image-lvgl: graphical LVGL image + + By default the image is XWayland-based so it provides a full Weston + desktop environment. diff --git a/sdk/config/ccimx6sbc/conf-notes.txt b/sdk/config/ccimx6sbc/conf-notes.txt index b49f5e14b..7c10edbcf 100644 --- a/sdk/config/ccimx6sbc/conf-notes.txt +++ b/sdk/config/ccimx6sbc/conf-notes.txt @@ -9,3 +9,8 @@ Digi Embedded Yocto provides the following image recipes: By default the image is XWayland-based so it provides a full Weston desktop environment. + + * dey-image-lvgl: graphical LVGL image + + By default the image is XWayland-based so it provides a full Weston + desktop environment. diff --git a/sdk/config/ccimx6ulsbc/conf-notes.txt b/sdk/config/ccimx6ulsbc/conf-notes.txt index 8a9a68710..44fd937f9 100644 --- a/sdk/config/ccimx6ulsbc/conf-notes.txt +++ b/sdk/config/ccimx6ulsbc/conf-notes.txt @@ -5,6 +5,11 @@ Digi Embedded Yocto provides the following image recipes: By default the image is X11-based so it provides a full SATO theme desktop environment. + * dey-image-lvgl: graphical LVGL image + + By default the image is X11-based so it provides a full SATO theme + desktop environment. + * core-image-base: a console-only image Expansion of native core-image-base by including all the support for the diff --git a/sdk/config/ccimx8mm-dvk/conf-notes.txt b/sdk/config/ccimx8mm-dvk/conf-notes.txt index b49f5e14b..7c10edbcf 100644 --- a/sdk/config/ccimx8mm-dvk/conf-notes.txt +++ b/sdk/config/ccimx8mm-dvk/conf-notes.txt @@ -9,3 +9,8 @@ Digi Embedded Yocto provides the following image recipes: By default the image is XWayland-based so it provides a full Weston desktop environment. + + * dey-image-lvgl: graphical LVGL image + + By default the image is XWayland-based so it provides a full Weston + desktop environment. diff --git a/sdk/config/ccimx8mn-dvk/conf-notes.txt b/sdk/config/ccimx8mn-dvk/conf-notes.txt index b49f5e14b..7c10edbcf 100644 --- a/sdk/config/ccimx8mn-dvk/conf-notes.txt +++ b/sdk/config/ccimx8mn-dvk/conf-notes.txt @@ -9,3 +9,8 @@ Digi Embedded Yocto provides the following image recipes: By default the image is XWayland-based so it provides a full Weston desktop environment. + + * dey-image-lvgl: graphical LVGL image + + By default the image is XWayland-based so it provides a full Weston + desktop environment. diff --git a/sdk/config/ccimx8x-sbc-express/conf-notes.txt b/sdk/config/ccimx8x-sbc-express/conf-notes.txt index b49f5e14b..7c10edbcf 100644 --- a/sdk/config/ccimx8x-sbc-express/conf-notes.txt +++ b/sdk/config/ccimx8x-sbc-express/conf-notes.txt @@ -9,3 +9,8 @@ Digi Embedded Yocto provides the following image recipes: By default the image is XWayland-based so it provides a full Weston desktop environment. + + * dey-image-lvgl: graphical LVGL image + + By default the image is XWayland-based so it provides a full Weston + desktop environment. diff --git a/sdk/config/ccimx8x-sbc-pro/conf-notes.txt b/sdk/config/ccimx8x-sbc-pro/conf-notes.txt index b49f5e14b..7c10edbcf 100644 --- a/sdk/config/ccimx8x-sbc-pro/conf-notes.txt +++ b/sdk/config/ccimx8x-sbc-pro/conf-notes.txt @@ -9,3 +9,8 @@ Digi Embedded Yocto provides the following image recipes: By default the image is XWayland-based so it provides a full Weston desktop environment. + + * dey-image-lvgl: graphical LVGL image + + By default the image is XWayland-based so it provides a full Weston + desktop environment. diff --git a/sdk/config/ccimx93-dvk/conf-notes.txt b/sdk/config/ccimx93-dvk/conf-notes.txt index d9cb627a2..4d03f59dd 100644 --- a/sdk/config/ccimx93-dvk/conf-notes.txt +++ b/sdk/config/ccimx93-dvk/conf-notes.txt @@ -5,3 +5,8 @@ Digi Embedded Yocto provides the following image recipes: By default the image is XWayland-based so it provides a full Weston desktop environment. + * dey-image-lvgl: graphical LVGL image + + By default the image is XWayland-based so it provides a full Weston + desktop environment. + diff --git a/sdk/config/ccmp15-dvk/conf-notes.txt b/sdk/config/ccmp15-dvk/conf-notes.txt index 61380b8fe..a0a98b6e5 100644 --- a/sdk/config/ccmp15-dvk/conf-notes.txt +++ b/sdk/config/ccmp15-dvk/conf-notes.txt @@ -10,6 +10,11 @@ Digi Embedded Yocto provides the following image recipes: By default the image is Wayland-based so it provides a full Weston desktop environment. + * dey-image-lvgl: graphical LVGL image + + By default the image is Wayland-based so it provides a full Weston + desktop environment. + * core-image-base: a console-only image Expansion of native core-image-base by including all the support for the