diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-02-20 14:34:01 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-02-28 10:47:04 -0300 |
commit | deb2473ee91c014c655098f20b9f8b33ff9a8bc1 (patch) | |
tree | 0df73173664cd32ae1352f2df8d7ad7f76af0add | |
parent | 53242713da6ae01f2b1f7e674b00517390fe2bcb (diff) | |
download | meta-qt5-deb2473ee91c014c655098f20b9f8b33ff9a8bc1.tar.gz |
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>
-rw-r--r-- | classes/populate_sdk_qt5.bbclass | 2 | ||||
-rw-r--r-- | conf/layer.conf | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/classes/populate_sdk_qt5.bbclass b/classes/populate_sdk_qt5.bbclass index 635dd6d3..c9219830 100644 --- a/classes/populate_sdk_qt5.bbclass +++ b/classes/populate_sdk_qt5.bbclass | |||
@@ -52,3 +52,5 @@ toolchain_create_sdk_env_script_append () { | |||
52 | echo 'HostPrefix = ${SDKPATHNATIVE}' >> $qtconf | 52 | echo 'HostPrefix = ${SDKPATHNATIVE}' >> $qtconf |
53 | echo 'HostBinaries = ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}' >> $qtconf | 53 | echo 'HostBinaries = ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}' >> $qtconf |
54 | } | 54 | } |
55 | |||
56 | PACKAGE_GROUP_qtcreator-debug = "packagegroup-qt5-qtcreator-debug" | ||
diff --git a/conf/layer.conf b/conf/layer.conf index 3b47b7f7..75d13a46 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -22,3 +22,5 @@ BBFILE_PATTERN_qt5-layer := "^${LAYERDIR}/" | |||
22 | # other layers. | 22 | # other layers. |
23 | 23 | ||
24 | BBFILE_PRIORITY_qt5-layer = "7" | 24 | BBFILE_PRIORITY_qt5-layer = "7" |
25 | |||
26 | IMAGE_FEATURES[validitems] += "qtcreator-debug" | ||