meta-digi-dey: move ${GRAPHICAL_BACKEND} to DEY distro conf

Move this variable to DEY distro conf so that it is available for any
recipe built with the distro.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-2192
This commit is contained in:
Hector Palacios 2016-02-10 18:48:00 +01:00
parent 58219a5cb3
commit 92f744ab75
2 changed files with 2 additions and 2 deletions

View File

@ -23,6 +23,8 @@ DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DE
# 'ptest' -> fails to build QT5 toolchain # 'ptest' -> fails to build QT5 toolchain
POKY_DEFAULT_DISTRO_FEATURES_remove = "ptest wayland" POKY_DEFAULT_DISTRO_FEATURES_remove = "ptest wayland"
GRAPHICAL_BACKEND = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', 'fb', d)}"
# DEY image features (alphabetical order) # DEY image features (alphabetical order)
FEATURE_PACKAGES_dey-audio = "packagegroup-dey-audio" FEATURE_PACKAGES_dey-audio = "packagegroup-dey-audio"
FEATURE_PACKAGES_dey-bluetooth = "packagegroup-dey-bluetooth" FEATURE_PACKAGES_dey-bluetooth = "packagegroup-dey-bluetooth"

View File

@ -42,6 +42,4 @@ IMAGE_ROOTFS_SIZE = "8192"
# Do not install udev-cache # Do not install udev-cache
BAD_RECOMMENDATIONS += "udev-cache" BAD_RECOMMENDATIONS += "udev-cache"
GRAPHICAL_BACKEND = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', 'fb', d)}"
export IMAGE_BASENAME = "dey-image-qt-${GRAPHICAL_BACKEND}" export IMAGE_BASENAME = "dey-image-qt-${GRAPHICAL_BACKEND}"