Bug 5755

Summary: Document the SDKPATH variable
Product: [Documentation] Reference Reporter: Laszlo Papp <lpapp>
Component: handbookAssignee: Scott Rifenbark <srifenbark>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, jessica.zhang, poky.doc.watcher, poky.watcher, ross.burton, srifenbark
Version: unspecified   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard: 13 February 2014: RESOLVED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Laszlo Papp 2014-01-24 09:28:03 UTC
Currently, it is unknow based on the documentation how to refer to the installed SDK sysroot when trying to build applications on top of it.

It is an important information for library and application developers, so it would be nice to have it documented.

For that matter, any other hidden gem could be fixed up in the same step if there are any, like include, library, or bin convenience paths, etc.
Comment 1 Jessica 2014-01-30 15:38:32 UTC
Scott,

Please talk to Paul to get the needed info.
Comment 2 Laszlo Papp 2014-01-30 17:20:07 UTC
It may be a simple one.

The SDKPATH determines what path will be offered to the user that installs the sdk which was generated by Yocto. This can be overridden by the user during the installation procedure after the running the installation script.

I am not sure if there is much more to it.
Comment 3 Scott Rifenbark 2014-01-31 19:32:10 UTC
Hi, 

Here is an attempt at defining the variable.  Please let me know if corrections or additions need made:

http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#SDKPATH

I would also like to know if this variable should be documented in the glossary chapter of the BitBake User Manual.  Or, if it is limited to Yocto.

Thanks, 
Scott
Comment 4 Laszlo Papp 2014-01-31 19:41:15 UTC
Looks ok to me if you meant http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#var-SDKPATH.

Thanks!

(I am not sure about the bitbake documentation)
Comment 5 Paul Eggleton 2014-01-31 22:21:19 UTC
Description looks good. Could you also add a pointer to this variable from the "3.7. Application Development SDK" section as well?

FYI this is OE-specific, so not appropriate for the bitbake manual.
Comment 6 Scott Rifenbark 2014-01-31 22:37:18 UTC
Paul, 

See http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#sdk-dev-environment for the link.  I simply added it to the list.  

Laszlo... yes, I forgot the "var" :)

Thanks,
Scott
Comment 7 Paul Eggleton 2014-01-31 22:46:43 UTC
Great! Thanks.
Comment 8 Laszlo Papp 2014-02-01 02:56:00 UTC
Looks good to me. :)
Comment 9 Scott Rifenbark 2014-02-12 19:08:18 UTC
Marking RESOLVED.