diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/devtool/ide_plugins/ide_code.py | 1 | ||||
-rwxr-xr-x | scripts/lib/devtool/ide_sdk.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/devtool/ide_plugins/ide_code.py b/scripts/lib/devtool/ide_plugins/ide_code.py index d58d0bdc53..09f0bb2a07 100644 --- a/scripts/lib/devtool/ide_plugins/ide_code.py +++ b/scripts/lib/devtool/ide_plugins/ide_code.py | |||
@@ -242,6 +242,7 @@ class IdeVSCode(IdeBase): | |||
242 | if gdb_cross_config.image_recipe.rootfs_dbg: | 242 | if gdb_cross_config.image_recipe.rootfs_dbg: |
243 | launch_config['additionalSOLibSearchPath'] = modified_recipe.solib_search_path_str( | 243 | launch_config['additionalSOLibSearchPath'] = modified_recipe.solib_search_path_str( |
244 | gdb_cross_config.image_recipe) | 244 | gdb_cross_config.image_recipe) |
245 | src_file_map[os.path.join("/usr/src/debug", modified_recipe.pn, modified_recipe.pv)] = "${workspaceFolder}" | ||
245 | src_file_map["/usr/src/debug"] = os.path.join( | 246 | src_file_map["/usr/src/debug"] = os.path.join( |
246 | gdb_cross_config.image_recipe.rootfs_dbg, "usr", "src", "debug") | 247 | gdb_cross_config.image_recipe.rootfs_dbg, "usr", "src", "debug") |
247 | else: | 248 | else: |
diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index 3bfeb5a3fc..289bbbf47c 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py | |||
@@ -357,6 +357,7 @@ class RecipeModified: | |||
357 | 'PACKAGE_DEBUG_SPLIT_STYLE') | 357 | 'PACKAGE_DEBUG_SPLIT_STYLE') |
358 | self.path = recipe_d.getVar('PATH') | 358 | self.path = recipe_d.getVar('PATH') |
359 | self.pn = recipe_d.getVar('PN') | 359 | self.pn = recipe_d.getVar('PN') |
360 | self.pv = recipe_d.getVar('PV') | ||
360 | self.recipe_sysroot = os.path.realpath( | 361 | self.recipe_sysroot = os.path.realpath( |
361 | recipe_d.getVar('RECIPE_SYSROOT')) | 362 | recipe_d.getVar('RECIPE_SYSROOT')) |
362 | self.recipe_sysroot_native = os.path.realpath( | 363 | self.recipe_sysroot_native = os.path.realpath( |