meta data for this page
This is an old revision of the document!
Debug
Compile recipe without striping and with debug info
DEBUG_BUILD = "1" # # Uncomment this to disable the stripping of the installed binaries INHIBIT_PACKAGE_STRIP = "1" # # Uncomment this to disable the split of the debug information into -dbg files INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
Above is enough to enable debug build and symbols. If not it is always possible to add:
EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Debug" CFLAGS += "-g"