mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

SPDX headers have been added to each file, and match the headers used in the DocBook files. (From yocto-docs rev: 79dbb0007ae24da4a3689a23e921f2a2638757f7) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1.4 KiB
ReStructuredText
35 lines
1.4 KiB
ReStructuredText
.. SPDX-License-Identifier: CC-BY-2.0-UK
|
|
|
|
****************************
|
|
Customizing the Standard SDK
|
|
****************************
|
|
|
|
This appendix presents customizations you can apply to the standard SDK.
|
|
|
|
Adding Individual Packages to the Standard SDK
|
|
==============================================
|
|
|
|
When you build a standard SDK using the ``bitbake -c populate_sdk``, a
|
|
default set of packages is included in the resulting SDK. The
|
|
```TOOLCHAIN_HOST_TASK`` <&YOCTO_DOCS_REF_URL;#var-TOOLCHAIN_HOST_TASK>`__
|
|
and
|
|
```TOOLCHAIN_TARGET_TASK`` <&YOCTO_DOCS_REF_URL;#var-TOOLCHAIN_TARGET_TASK>`__
|
|
variables control the set of packages adding to the SDK.
|
|
|
|
If you want to add individual packages to the toolchain that runs on the
|
|
host, simply add those packages to the ``TOOLCHAIN_HOST_TASK`` 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
|
|
``TOOLCHAIN_TARGET_TASK`` variable.
|
|
|
|
Adding API Documentation to the Standard SDK
|
|
============================================
|
|
|
|
You can include API documentation as well as any other documentation
|
|
provided by recipes with the standard SDK by adding "api-documentation"
|
|
to the
|
|
```DISTRO_FEATURES`` <&YOCTO_DOCS_REF_URL;#var-DISTRO_FEATURES>`__
|
|
variable: DISTRO_FEATURES_append = " api-documentation" Setting this
|
|
variable as shown here causes the OpenEmbedded build system to build the
|
|
documentation and then include it in the standard SDK.
|