populate_sdk_qt5.bbclass: Add support for qtcreator-debug

This adds a new image feature for easier remote debugging with
QtCreator.

The qtcreator-debug needs to be added as a valid item for image
features and having it inside the populate_sdk_qt5 is too late. User
will see a parser error as OE-Core images does not inherit the classs.
The possible workaround for it is to include it inside layer.conf file
until a kind of "bbclassappend" support is in place.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Giulian Vivan <giulian@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2014-02-20 14:34:01 -03:00
parent 53242713da
commit deb2473ee9
2 changed files with 4 additions and 0 deletions

View File

@ -52,3 +52,5 @@ toolchain_create_sdk_env_script_append () {
echo 'HostPrefix = ${SDKPATHNATIVE}' >> $qtconf
echo 'HostBinaries = ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}' >> $qtconf
}
PACKAGE_GROUP_qtcreator-debug = "packagegroup-qt5-qtcreator-debug"

View File

@ -22,3 +22,5 @@ BBFILE_PATTERN_qt5-layer := "^${LAYERDIR}/"
# other layers.
BBFILE_PRIORITY_qt5-layer = "7"
IMAGE_FEATURES[validitems] += "qtcreator-debug"