Hi all, While using the relatively new devtool subcommand 'ide-sdk', I noticed that the gdbserver is listed as missing because it was not explicitly listed in IMAGE_INSTALL. According to the documentation, it is also installed by the image feature 'tools-debug'. Therefore, you should not only check whether 'gdbserver' is not in 'IMAGE_INSTALL', but also whether 'tools-debug' is not in IMAGE_FEATURES.
Best regards Tom Georgi Signed-off-by: Georgi, Tom <[email protected]> --- scripts/lib/devtool/ide_sdk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index 2f6eddec2a..7b1cb67bbb 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py @@ -167,7 +167,7 @@ class RecipeImage: self.__rootfs_dbg = os.path.join(workdir, 'rootfs-dbg') self.gdbserver_missing = 'gdbserver' not in image_d.getVar( - 'IMAGE_INSTALL') + 'IMAGE_INSTALL') and 'tools-debug' not in image_d.getVar('IMAGE_FEATURES') @property def debug_support(self): -- 2.47.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#208829): https://lists.openembedded.org/g/openembedded-core/message/208829 Mute This Topic: https://lists.openembedded.org/mt/110160551/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
