diff mbox series

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

Message ID 20241220114337.774784-3-tom.georgi@karlstorz.com
State Accepted, archived
Commit 28a8b35826302a40e7bb49f4bd3213fe7026f480
Headers show
Series devtool: ide-sdk: check 'tools-debug' for gdbserver | expand

Commit Message

Georgi, Tom Dec. 20, 2024, 11:43 a.m. UTC
Also check that 'tools-debug' is not set in
IMAGE_FEATURES to determine if gdbserver is missing.

Signed-off-by: Georgi, Tom <tom.georgi@karlstorz.com>
---
 scripts/lib/devtool/ide_sdk.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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