Jump to content

Preparing Yocto Development Environment for Debugging: Difference between revisions

Line 35: Line 35:
;INHIBIT_PACKAGE_DEBUG_SPLIT
;INHIBIT_PACKAGE_DEBUG_SPLIT
: Adds the symbols and debug info files onto the filesystem as separate files instead of having them embedded with the executables.
: Adds the symbols and debug info files onto the filesystem as separate files instead of having them embedded with the executables.
Finally, for the general environment setup, depending on where and what we are debugging, it might be useful to have bitbake emit debugging output, which can be achieved by adding the BBDEBUG option to the local.conf as follows. You can also create a build history git repository that stores meta-data about the current project, including package dependencies, size and generated sub-packages, stored in the <project_Dir>/build/buildhistory.
Finally, for the general environment setup, depending on where and what we are debugging, it might be useful to have bitbake emit debugging output, which can be achieved by adding the BBDEBUG option to the local.conf as follows. You can also create a build history git repository that stores meta-data about the current project, including package dependencies, size and generated sub-packages, stored in the $PROJECT_DIR/build/buildhistory.


'''build/conf/local.conf:'''
'''build/conf/local.conf:'''
Cookies help us deliver our services. By using our services, you agree to our use of cookies.