1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 13:29:49 +00:00

sdk-manual: Updated section on minimizing eSDK installer size

I made some re-writes for clearity.

(From yocto-docs rev: a68619a2ba8b7877cde6c9ef7dbb726adc75b0cd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2018-07-19 15:12:12 -07:00
committed by Richard Purdie
parent bfe4fef098
commit 880c15fe31
@@ -440,24 +440,24 @@
size, which downloads and installs quickly. size, which downloads and installs quickly.
You need to realize, though, that the minimal installer does not You need to realize, though, that the minimal installer does not
install any libraries or tools out of the box. install any libraries or tools out of the box.
These must be installed either "on the fly" or through actions you These libraries and tools must be installed either "on the fly" or
perform using <filename>devtool</filename> or explicitly with the through actions you perform using <filename>devtool</filename> or
<filename>devtool sdk-install</filename> command. explicitly with the <filename>devtool sdk-install</filename> command.
</para> </para>
<para> <para>
In most cases, when building a minimal SDK you will need to also enable In most cases, when building a minimal SDK you need to also enable
bringing in the information on a wider range of packages produced by bringing in the information on a wider range of packages produced by
the system. the system.
This is particularly true so that <filename>devtool add</filename> Requiring this wider range of information is particularly true
is able to effectively map dependencies it discovers in a source tree so that <filename>devtool add</filename> is able to effectively map
to the appropriate recipes. dependencies it discovers in a source tree to the appropriate recipes.
Also so that the <filename>devtool search</filename> command Additionally, the information enables the
is able to return useful results. <filename>devtool search</filename> command to return useful results.
</para> </para>
<para> <para>
To facilitate this wider range of information, you would additionally To facilitate this wider range of information, you would need to
set the following: set the following:
<literallayout class='monospaced'> <literallayout class='monospaced'>
SDK_INCLUDE_PKGDATA = "1" SDK_INCLUDE_PKGDATA = "1"
@@ -500,8 +500,8 @@
<ulink url='&YOCTO_DOCS_REF_URL;#var-SDK_INCLUDE_TOOLCHAIN'><filename>SDK_INCLUDE_TOOLCHAIN</filename></ulink> <ulink url='&YOCTO_DOCS_REF_URL;#var-SDK_INCLUDE_TOOLCHAIN'><filename>SDK_INCLUDE_TOOLCHAIN</filename></ulink>
variable to "1". variable to "1".
In particular, it is useful to include the toolchain when you In particular, it is useful to include the toolchain when you
have set <filename>SDK_EXT_TYPE</filename> to have set <filename>SDK_EXT_TYPE</filename> to "minimal", which by
"minimal", which by default, excludes the toolchain. default, excludes the toolchain.
Also, it is helpful if you are building a small SDK for use with Also, it is helpful if you are building a small SDK for use with
an IDE, such as <trademark class='trade'>Eclipse</trademark>, or some an IDE, such as <trademark class='trade'>Eclipse</trademark>, or some
other tool where you do not want to take extra steps to install a other tool where you do not want to take extra steps to install a