diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2025-01-26 13:48:04 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-02-03 06:24:37 -0800 |
commit | 8a4f813c867a7b1e20855dc381d7396ad98ae41f (patch) | |
tree | 98ed0311fe9685a3fb15ef76275511d7d9537091 /meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch | |
parent | e1f3ee328b826753ee82bc040d586477100c58e6 (diff) | |
download | poky-8a4f813c867a7b1e20855dc381d7396ad98ae41f.tar.gz |
devtool: ide-sdk recommend DEBUG_BUILD
The debug_build_config function was never called. Compiling with debug
optimized compiler flags was not working. Even with the
--debug-build-config flag set, the build configuration from the recipe
was used.
The devtool ide-sdk --debug-build-config approach didn't work very well
anyway. The problem is that changing the bbappend file doesn't work
while bitbake uses the bbappend file. As a workaround, it would be
possible to parse the recipe, get DEBUG_BUILD and the path to the append
file, exit tinfoil, change the bbappend file, reopen tinfoil and do what
ide-sdk is supposed to do. Such an implementation would be complicated
and slow.
Therefore, the code that was originally supposed to implement this is
removed from ide-sdk and the new --debug-build function of devtool
modify is used instead. Additionally, a hint should be given on how to
manually add DEBUG_BUILD = '1' to bbappend.
This is compatible with the VSCode Bitbake plug-in, which does not
support this parameter anyway.
(From OE-Core rev: 8753ddc7a42a09eec9b12af97b2b511b2970d83c)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch')
0 files changed, 0 insertions, 0 deletions