appendix-customizing-standard.rst 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
  2. ****************************
  3. Customizing the Standard SDK
  4. ****************************
  5. This appendix presents customizations you can apply to the standard SDK.
  6. Adding Individual Packages to the Standard SDK
  7. ==============================================
  8. When you build a standard SDK using the ``bitbake -c populate_sdk``, a
  9. default set of packages is included in the resulting SDK. The
  10. :term:`TOOLCHAIN_HOST_TASK`
  11. and
  12. :term:`TOOLCHAIN_TARGET_TASK`
  13. variables control the set of packages adding to the SDK.
  14. If you want to add individual packages to the toolchain that runs on the
  15. host, simply add those packages to the :term:`TOOLCHAIN_HOST_TASK` variable.
  16. Similarly, if you want to add packages to the default set that is part
  17. of the toolchain that runs on the target, add the packages to the
  18. :term:`TOOLCHAIN_TARGET_TASK` variable.
  19. Adding API Documentation to the Standard SDK
  20. ============================================
  21. You can include API documentation as well as any other documentation
  22. provided by recipes with the standard SDK by adding "api-documentation"
  23. to the
  24. :term:`DISTRO_FEATURES`
  25. variable: DISTRO_FEATURES:append = " api-documentation" Setting this
  26. variable as shown here causes the OpenEmbedded build system to build the
  27. documentation and then include it in the standard SDK.