meta-digi-dey: move packagegroup definitions to distro configuration

After the upstream commit in d63c8a1597c9bd0a838cb59ca461ac432b630a90,
bitbake checks to see if the image feature has a valid packagegroup
associated.

For this check to work dey features need to be defined for all images,
not only dey images, so the definitions need to move to the distro
configuration file.

https://jira.digi.com/browse/DEL-852

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Alex Gonzalez 2013-10-28 17:14:17 +01:00 committed by Javier Viguera
parent f729e76654
commit 36cdf24425
2 changed files with 10 additions and 10 deletions

View File

@ -2,16 +2,6 @@
# #
# Copyright (C) 2012 Digi International. # Copyright (C) 2012 Digi International.
# DEY image features (alphabetical order)
PACKAGE_GROUP_dey-audio = "packagegroup-dey-audio"
PACKAGE_GROUP_dey-bluetooth = "packagegroup-dey-bluetooth"
PACKAGE_GROUP_dey-debug = "packagegroup-dey-debug"
PACKAGE_GROUP_dey-examples = "packagegroup-dey-examples"
PACKAGE_GROUP_dey-gstreamer = "packagegroup-dey-gstreamer"
PACKAGE_GROUP_dey-network = "packagegroup-dey-network"
PACKAGE_GROUP_dey-qt = "packagegroup-dey-qt"
PACKAGE_GROUP_dey-wireless = "packagegroup-dey-wireless"
## Auxiliar variables and functions (used in dey_rootfs_tuning) ## Auxiliar variables and functions (used in dey_rootfs_tuning)
LAYERS_REV = "${@'\n'.join(get_layers_branch_rev(d))}" LAYERS_REV = "${@'\n'.join(get_layers_branch_rev(d))}"
DEY_TAG = "${@dey_tag(d).strip()}" DEY_TAG = "${@dey_tag(d).strip()}"

View File

@ -24,6 +24,16 @@ DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DE
DISTRO_FEATURES_DEFAULT_remove = "x11" DISTRO_FEATURES_DEFAULT_remove = "x11"
POKY_DEFAULT_DISTRO_FEATURES_remove = "wayland" POKY_DEFAULT_DISTRO_FEATURES_remove = "wayland"
# DEY image features (alphabetical order)
PACKAGE_GROUP_dey-audio = "packagegroup-dey-audio"
PACKAGE_GROUP_dey-bluetooth = "packagegroup-dey-bluetooth"
PACKAGE_GROUP_dey-debug = "packagegroup-dey-debug"
PACKAGE_GROUP_dey-examples = "packagegroup-dey-examples"
PACKAGE_GROUP_dey-gstreamer = "packagegroup-dey-gstreamer"
PACKAGE_GROUP_dey-network = "packagegroup-dey-network"
PACKAGE_GROUP_dey-qt = "packagegroup-dey-qt"
PACKAGE_GROUP_dey-wireless = "packagegroup-dey-wireless"
# Features without a packagegroup need to be explicitely added. # Features without a packagegroup need to be explicitely added.
IMAGE_FEATURES[validitems] += "dey-test" IMAGE_FEATURES[validitems] += "dey-test"