From d07100d5ff965030a31e1d28b5eec8ac91d68a3c Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 26 Jan 2016 07:18:13 -0800 Subject: sdk-manual: Added new section detailing installed SDK directory. Added text and a new figure to show the resulting directory structure from running the SDK installation .sh script. (From yocto-docs rev: 3c5aec4a0088262e60ee6becb5e34552feeb6151) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/sdk-manual/sdk-appendix-obtain.xml | 85 ++++++++++++++++++------ 1 file changed, 63 insertions(+), 22 deletions(-) (limited to 'documentation') diff --git a/documentation/sdk-manual/sdk-appendix-obtain.xml b/documentation/sdk-manual/sdk-appendix-obtain.xml index a9996c4d18..baf5dfd42f 100644 --- a/documentation/sdk-manual/sdk-appendix-obtain.xml +++ b/documentation/sdk-manual/sdk-appendix-obtain.xml @@ -6,28 +6,69 @@ Obtaining the SDK - - This chapter is going to cover the details on getting the SDK on your - system. - It is debatable as to whether or not this should be an appendix. - It could be part of a main chapter I think. - Originally suggested by Paul that it should be an appendix. - I have a sub-section in the main chapters to cover this should we - decide to place it there. - - - - The idea here is to gather all the current information in the regular - YP doc set that describes how to locate, download, or build out the SDK. - - - - One thing that needs discussed is any differences between getting the - standard SDK as compared to the extended SDK. - Do we have pre-build extensible SDKs laying around? - Where do we get any pre-built SDKs from? - Show the methods by which the user builds out the SDK? - +
+ Manual Development Notes for Scott and Paul + + + This chapter is going to cover details about the installed SDK and perhaps + stuff on locating it (e.g. the naming scheme used to identify the + .sh installation script. + + + + The idea here is to gather all the current information in the regular + YP doc set that describes how to locate, download, or build out the SDK. + + + + One thing that needs discussed is any differences between getting the + standard SDK as compared to the extended SDK. + Do we have pre-build extensible SDKs laying around? + Where do we get any pre-built SDKs from? + Show the methods by which the user builds out the SDK? + +
+ +
+ Installed Standard SDK Directory Structure + + + The following figure shows the resulting directory structure after + you install the Standard SDK by running the .sh + SDK installation script: + + + + + + + + The installed SDK consists of an environment setup script for the SDK, + a configuration file for the target, a version file for the target, + and the root filesystem (sysroots) needed to + develop objects for the target system. + + + + Within the figure, italicized text is used to indicate replaceable + portions of the file or directory name. + For example, + install_dir/version + is the directory where the SDK is installed. + By default, this directory is /opt/poky/. + And, version represents the specific + snapshot of the SDK (e.g. &DISTRO;+snapshot). + Furthermore, target represents the target + architecture (e.g. i586) and + host represents the development system's + architecture (e.g. x86_64). + Thus, the complete names of the two directories within the + sysroots could be + i586-poky-linux and + x86_64-pokysdk-linux for the target and host, + respectively. + +