diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /scripts/lib/devtool/ide_plugins/ide_none.py | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/ide_plugins/ide_none.py')
| -rw-r--r-- | scripts/lib/devtool/ide_plugins/ide_none.py | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/scripts/lib/devtool/ide_plugins/ide_none.py b/scripts/lib/devtool/ide_plugins/ide_none.py deleted file mode 100644 index f106c5a026..0000000000 --- a/scripts/lib/devtool/ide_plugins/ide_none.py +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2023-2024 Siemens AG | ||
| 3 | # | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 5 | # | ||
| 6 | """Devtool ide-sdk generic IDE plugin""" | ||
| 7 | |||
| 8 | import os | ||
| 9 | import logging | ||
| 10 | from devtool.ide_plugins import IdeBase, GdbCrossConfig | ||
| 11 | |||
| 12 | logger = logging.getLogger('devtool') | ||
| 13 | |||
| 14 | |||
| 15 | class IdeNone(IdeBase): | ||
| 16 | """Generate some generic helpers for other IDEs | ||
| 17 | |||
| 18 | Modified recipe mode: | ||
| 19 | Generate some helper scripts for remote debugging with GDB | ||
| 20 | |||
| 21 | Shared sysroot mode: | ||
| 22 | A wrapper for bitbake meta-ide-support and bitbake build-sysroots | ||
| 23 | """ | ||
| 24 | |||
| 25 | def __init__(self): | ||
| 26 | super().__init__() | ||
| 27 | |||
| 28 | def setup_shared_sysroots(self, shared_env): | ||
| 29 | real_multimach_target_sys = shared_env.ide_support.real_multimach_target_sys | ||
| 30 | deploy_dir_image = shared_env.ide_support.deploy_dir_image | ||
| 31 | env_script = os.path.join( | ||
| 32 | deploy_dir_image, 'environment-setup-' + real_multimach_target_sys) | ||
| 33 | logger.info( | ||
| 34 | "To use this SDK please source this: %s" % env_script) | ||
| 35 | |||
| 36 | def setup_modified_recipe(self, args, image_recipe, modified_recipe): | ||
| 37 | """generate some helper scripts and config files | ||
| 38 | |||
| 39 | - Execute the do_install task | ||
| 40 | - Execute devtool deploy-target | ||
| 41 | - Generate a gdbinit file per executable | ||
| 42 | - Generate the oe-scripts sym-link | ||
| 43 | """ | ||
| 44 | script_path = modified_recipe.gen_install_deploy_script(args) | ||
| 45 | logger.info("Created: %s" % script_path) | ||
| 46 | |||
| 47 | self.initialize_gdb_cross_configs(image_recipe, modified_recipe) | ||
| 48 | |||
| 49 | IdeBase.gen_oe_scrtips_sym_link(modified_recipe) | ||
| 50 | |||
| 51 | |||
| 52 | def register_ide_plugin(ide_plugins): | ||
| 53 | ide_plugins['none'] = IdeNone | ||
