Skip to content

devtool improve debug build configuration

Adrian Freihofer openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4devtool: modify support debug-buildsscripts/lib/devtool/standard.py+3 -00 replies
2/4devtool: ide-sdk sort cmake presetscripts/lib/devtool/ide_sdk.py+2 -20 replies
3/4devtool: ide-sdk recommend DEBUG_BUILDscripts/lib/devtool/ide_sdk.py+9 -410 replies
4/4oe-selftest: devtool ide-sdk use modify debug-buildmeta/lib/oeqa/selftest/cases/devtool.py+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] devtool improve debug build configuration

Add a new command line option to devtool modify: --debug-build. With this option, the bbappend file created by devtool modify contains DEBUG_BUILD = “1”.

The --debug-build-config command line option of devtool ide-sdk, which does not really work anyway, is removed.

Moving the initialization with DEBUG_BUILD = “1” from ide-sdk to modify simplifies the implementations considerably. If the user wants to change the DEBUG_BUILD configuration, the bbappend file can also be edited manually. ide-sdk now issues a corresponding message if it is called with optimized compiler settings.

It would be nice if Yocto Bitbake Plugin for VSCode could also support the new devtool modify --debug-build feature.

A documentation update is ready on the branch here:
https://git.yoctoproject.org/poky-contrib/log/?h=adrianf/devtool-ide-sdk-debug-default

Adrian Freihofer (4):
devtool: modify support debug-builds
devtool: ide-sdk sort cmake preset
devtool: ide-sdk recommend DEBUG_BUILD
oe-selftest: devtool ide-sdk use modify debug-build

 meta/lib/oeqa/selftest/cases/devtool.py |  2 +-
 scripts/lib/devtool/ide_sdk.py          | 54 +++++--------------------
 scripts/lib/devtool/standard.py         |  3 ++
 3 files changed, 15 insertions(+), 44 deletions(-)
Signature · 1 line
2.47.0