ccimx6ul: remove "-x11" suffix from dey-image-lvgl image name

The ccimx6ul is the only platform that doesn't include a desktop backend in the
LVGL image, so remove the desktop backend suffix from the image's name. This
affects the image name itself, the corresponding SWU package and the
installation scripts.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2024-01-23 15:52:35 +01:00 committed by Arturo Buzarra
parent cfe613f5e9
commit 568d142b11
4 changed files with 14 additions and 3 deletions

View File

@ -77,3 +77,7 @@ UBOOT_ENV_RANGE ?= ""
# Partitions to blacklist for swupdate:
# bootloader, environment, safe
SWUPDATE_MTD_BLACKLIST = "0 1 2"
# ccimx6ul LVGL images don't have a desktop backend, so we don't need to append
# "-x11" to the image name in the install scripts.
GRAPHICAL_IMAGES:remove = "dey-image-lvgl"

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2016-2023 Digi International.
# Copyright (C) 2016-2024 Digi International.
#
DESCRIPTION = "DEY image with graphical libraries"
LICENSE = "MIT"
@ -44,7 +44,8 @@ IMAGE_ROOTFS_SIZE = "8192"
BAD_RECOMMENDATIONS += "eudev-hwdb"
export IMAGE_BASENAME = "dey-image-${GRAPHICAL_CORE}-${GRAPHICAL_BACKEND}"
DEFAULT_IMAGE_BASENAME ??= "dey-image-${GRAPHICAL_CORE}-${GRAPHICAL_BACKEND}"
export IMAGE_BASENAME = "${DEFAULT_IMAGE_BASENAME}"
CORE_IMAGE_EXTRA_INSTALL += " \
${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'weston-xwayland', '', d)} \

View File

@ -10,3 +10,6 @@ GRAPHICAL_CORE = "lvgl"
# On the ccimx6ul, the only supported LVGL backend is fbdev, so there is no
# need for a X11 desktop environment.
IMAGE_FEATURES:remove:ccimx6ul = " x11-base x11-sato "
# Remove GRAPHICAL_BACKEND suffix (-x11) from ccimx6ul image names
DEFAULT_IMAGE_BASENAME:ccimx6ul = "dey-image-${GRAPHICAL_CORE}"

View File

@ -1,5 +1,8 @@
# Copyright (C) 2023 Digi International Inc.
# Copyright (C) 2023,2024 Digi International Inc.
require swu.inc
IMG_NAME = "${@get_baseimg_pn(d)}-${GRAPHICAL_BACKEND}"
# Remove GRAPHICAL_BACKEND suffix (-x11) from ccimx6ul image names
IMG_NAME:ccimx6ul = "${@get_baseimg_pn(d)}"