]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
devtool: ide-sdk: check 'tools-debug' for gdbserver
authorGeorgi, Tom <tom.georgi@karlstorz.com>
Fri, 20 Dec 2024 11:43:39 +0000 (12:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Dec 2024 15:48:14 +0000 (15:48 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/ide_sdk.py

index ee7c68dbbe91f39a99cd4e7bd478bdea46f01846..42ac20c654772abcc1fb9a7f7327143a73a524c0 100755 (executable)
@@ -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):