devtool: ide-sdk: check 'tools-debug' for gdbserver

Also check that 'tools-debug' is not set in
IMAGE_FEATURES to determine if gdbserver is missing.

(From OE-Core rev: 28a8b35826302a40e7bb49f4bd3213fe7026f480)

Signed-off-by: Georgi, Tom <tom.georgi@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Georgi, Tom 2024-12-20 12:43:39 +01:00 committed by Richard Purdie
parent 409256a2df
commit 465872544e

View File

@ -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):