diff options
| author | Scott Rifenbark <srifenbark@gmail.com> | 2016-03-21 14:25:47 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-23 21:56:09 +0000 |
| commit | 7233e359ddc50c80415c746449c33aa0fe83862d (patch) | |
| tree | 66c18581190b4fa64f93be2e918a62ba81e2d8d7 /documentation/sdk-manual/sdk-intro.xml | |
| parent | b31bf7c68b99d5893ab671612cda34ce01a631bf (diff) | |
| download | poky-7233e359ddc50c80415c746449c33aa0fe83862d.tar.gz | |
sdk-manual: Edits to add extensible SDK configuration sections.
(From yocto-docs rev: 378bbceb8ea06c225c4758807e25a35521faa3a9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/sdk-manual/sdk-intro.xml')
| -rw-r--r-- | documentation/sdk-manual/sdk-intro.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/documentation/sdk-manual/sdk-intro.xml b/documentation/sdk-manual/sdk-intro.xml index 36d946459d..d71aafeba1 100644 --- a/documentation/sdk-manual/sdk-intro.xml +++ b/documentation/sdk-manual/sdk-intro.xml | |||
| @@ -46,6 +46,34 @@ | |||
| 46 | </para> | 46 | </para> |
| 47 | 47 | ||
| 48 | <para> | 48 | <para> |
| 49 | SDKs are completely self-contained. | ||
| 50 | The binaries are linked against their own copy of | ||
| 51 | <filename>libc</filename>, which results in no dependencies | ||
| 52 | on the target system. | ||
| 53 | To achieve this, the pointer to the dynamic loader is | ||
| 54 | configured at install time since that path cannot be dynamically | ||
| 55 | altered. | ||
| 56 | This is the reason for a wrapper around the | ||
| 57 | <filename>populate_sdk</filename> and | ||
| 58 | <filename>populate_sdk_ext</filename> archives. | ||
| 59 | </para> | ||
| 60 | |||
| 61 | <para> | ||
| 62 | Another feature for the SDKs is that only one set of cross-canadian | ||
| 63 | toolchain binaries are produced per architecture. | ||
| 64 | This feature takes advantage of the fact that the target hardware can | ||
| 65 | be passed to <filename>gcc</filename> as a set of compiler options. | ||
| 66 | Those options are set up by the environment script and contained in | ||
| 67 | variables such as | ||
| 68 | <ulink url='&YOCTO_DOCS_REF_URL;#var-CC'><filename>CC</filename></ulink> | ||
| 69 | and | ||
| 70 | <ulink url='&YOCTO_DOCS_REF_URL;#var-LD'><filename>LD</filename></ulink>. | ||
| 71 | This reduces the space needed for the tools. | ||
| 72 | Understand, however, that a sysroot is still needed for every target | ||
| 73 | since those binaries are target-specific. | ||
| 74 | </para> | ||
| 75 | |||
| 76 | <para> | ||
| 49 | Going beyond the actual SDK, the SDK development environment consists | 77 | Going beyond the actual SDK, the SDK development environment consists |
| 50 | of the following: | 78 | of the following: |
| 51 | <itemizedlist> | 79 | <itemizedlist> |
