Bug 9850

Summary: Extensible SDK OE toolchain missing cross-gdb
Product: [Yocto Project Subprojects] eSDK Reporter: Matei.Valeanu
Component: eSDKAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Severity: normal    
Priority: Medium CC: sgw
Version: unspecified   
Target Milestone: 2.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Matei.Valeanu 2016-06-29 15:01:40 UTC
SDK_EXT_TYPE = full, and no cross gdb in OE toolchain.
Also:
devtool build gcc-cross-<arch>
ERROR: No recipe named 'gcc-cross-<arch>' in your workspace

"devtool sdk-install gdb-cross-<arch>"
...
ERROR: Task do_packagedata does not exist for target gdb-cross-<arch>
Comment 1 Paul Eggleton 2016-07-22 12:44:30 UTC
I've addressed this two ways in the patchset I've just sent:

1) If SDK_EXT_TYPE = "full" then SDK_INCLUDE_TOOLCHAIN is automatically set to "1" which has the effect of including gdb-cross in the eSDK that gets built. If it's "minimal" then you can manually set SDK_INCLUDE_TOOLCHAIN to get the toolchain (including gdb-cross) in the eSDK that gets built.

2) If you have a minimal eSDK that you want to install gdb into, the easiest way is to install the entire toolchain including gdb via "devtool sdk-install meta-extsdk-toolchain".