summaryrefslogtreecommitdiff
path: root/import-layers/yocto-poky/documentation/sdk-manual
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/documentation/sdk-manual')
-rw-r--r--import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-customizing-standard.xml58
-rw-r--r--import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-customizing.xml6
-rw-r--r--import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-mars.xml18
-rw-r--r--import-layers/yocto-poky/documentation/sdk-manual/sdk-manual.xml12
4 files changed, 90 insertions, 4 deletions
diff --git a/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-customizing-standard.xml b/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-customizing-standard.xml
new file mode 100644
index 000000000..f20891c80
--- /dev/null
+++ b/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-customizing-standard.xml
@@ -0,0 +1,58 @@
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
+[<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
+
+<appendix id='sdk-appendix-customizing-standard'>
+
+<title>Customizing the Standard SDK</title>
+
+<para>
+ This appendix presents customizations you can apply to the standard SDK.
+</para>
+
+<section id='sdk-adding-individual-packages'>
+ <title>Adding Individual Packages to the Standard SDK</title>
+
+ <para>
+ When you build a standard SDK using the
+ <filename>bitbake -c populate_sdk</filename>, a default set of
+ packages is included in the resulting SDK.
+ The
+ <ulink url='&YOCTO_DOCS_REF_URL;#var-TOOLCHAIN_HOST_TASK'><filename>TOOLCHAIN_HOST_TASK</filename></ulink>
+ and
+ <ulink url='&YOCTO_DOCS_REF_URL;#var-TOOLCHAIN_TARGET_TASK'><filename>TOOLCHAIN_TARGET_TASK</filename></ulink>
+ variables control the set of packages adding to the SDK.
+ </para>
+
+ <para>
+ If you want to add individual packages to the toolchain that runs on
+ the host, simply add those packages to the
+ <filename>TOOLCHAIN_HOST_TASK</filename> variable.
+ Similarly, if you want to add packages to the default set that is
+ part of the toolchain that runs on the target, add the packages to the
+ <filename>TOOLCHAIN_TARGET_TASK</filename> variable.
+ </para>
+</section>
+
+<section id='adding-api-documentation-to-the-standard-sdk'>
+ <title>Adding API Documentation to the Standard SDK</title>
+
+ <para>
+ You can include API documentation as well as any other
+ documentation provided by recipes with the standard SDK by
+ adding "api-documentation" to the
+ <ulink url='&YOCTO_DOCS_REF_URL;#var-DISTRO_FEATURES'><filename>DISTRO_FEATURES</filename></ulink>
+ variable:
+ <literallayout class='monospaced'>
+ DISTRO_FEATURES_append = " api-documentation"
+ </literallayout>
+ Setting this variable as shown here causes the OpenEmbedded build
+ system to build the documentation and then include it in the standard
+ SDK.
+ </para>
+</section>
+
+</appendix>
+<!--
+vim: expandtab tw=80 ts=4
+-->
diff --git a/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-customizing.xml b/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-customizing.xml
index e8a8b8cc9..965cccc2c 100644
--- a/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-customizing.xml
+++ b/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-customizing.xml
@@ -4,12 +4,10 @@
<appendix id='sdk-appendix-customizing'>
-<title>Customizing the SDK</title>
+<title>Customizing the Extensible SDK</title>
<para>
- This appendix presents customizations you can apply to both the standard
- and extensible SDK.
- Each subsection identifies the type of SDK to which the section applies.
+ This appendix presents customizations you can apply to the extensible SDK.
</para>
<section id='sdk-configuring-the-extensible-sdk'>
diff --git a/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-mars.xml b/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-mars.xml
index 144e0720a..521f68263 100644
--- a/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-mars.xml
+++ b/import-layers/yocto-poky/documentation/sdk-manual/sdk-appendix-mars.xml
@@ -72,6 +72,24 @@
<listitem><para><emphasis>Launch Eclipse:</emphasis>
Double click the "Eclipse" file in the folder to
launch Eclipse.
+ <note>
+ If you experience a NullPointer Exception after
+ launch Eclipse or the debugger from within Eclipse,
+ try adding the following
+ to your <filename>eclipse.ini</filename> file,
+ which is located in the directory in which you
+ unpacked the Eclipse tar file:
+ <literallayout class='monospaced'>
+ --launcher.GTK_version
+ 2
+ </literallayout>
+ Alternatively, you can export the
+ <filename>SWT_GTK</filename> variable in your
+ shell as follows:
+ <literallayout class='monospaced'>
+ $ export SWT_GTK3=0
+ </literallayout>
+ </note>
</para></listitem>
</orderedlist>
</para>
diff --git a/import-layers/yocto-poky/documentation/sdk-manual/sdk-manual.xml b/import-layers/yocto-poky/documentation/sdk-manual/sdk-manual.xml
index 6c72a0346..c32218968 100644
--- a/import-layers/yocto-poky/documentation/sdk-manual/sdk-manual.xml
+++ b/import-layers/yocto-poky/documentation/sdk-manual/sdk-manual.xml
@@ -41,6 +41,16 @@
<date>October 2016</date>
<revremark>Released with the Yocto Project 2.2 Release.</revremark>
</revision>
+ <revision>
+ <revnumber>2.2.1</revnumber>
+ <date>January 2017</date>
+ <revremark>Released with the Yocto Project 2.2.1 Release.</revremark>
+ </revision>
+ <revision>
+ <revnumber>2.2.2</revnumber>
+ <date>June 2017</date>
+ <revremark>Released with the Yocto Project 2.2.2 Release.</revremark>
+ </revision>
</revhistory>
<copyright>
@@ -76,6 +86,8 @@
<xi:include href="sdk-appendix-customizing.xml"/>
+ <xi:include href="sdk-appendix-customizing-standard.xml"/>
+
<xi:include href="sdk-appendix-mars.xml"/>
<!-- <index id='index'>